diff --git a/src/js/hntrie.js b/src/js/hntrie.js index d4953310c..f125b2e6a 100644 --- a/src/js/hntrie.js +++ b/src/js/hntrie.js @@ -266,7 +266,8 @@ class HNTrieContainer { this.add(itrie); } } - this.needle = ''; // Important + this.needle = ''; // Important + this.buf[255] = 0; // Important return itrie; }