Skip to content

Commit 4439040

Browse files
committed
patternMatcher: initialize the indirectVals map
1 parent 10baa24 commit 4439040

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dnscrypt-proxy/pattern_matcher.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ func NewPatternPatcher() *PatternMatcher {
3232
patternMatcher := PatternMatcher{
3333
blockedPrefixes: critbitgo.NewTrie(),
3434
blockedSuffixes: critbitgo.NewTrie(),
35+
indirectVals: make(map[string]interface{}),
3536
}
3637
return &patternMatcher
3738
}

0 commit comments

Comments
 (0)