summaryrefslogtreecommitdiff
path: root/src/htsindex.c
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2013-06-26 20:06:50 +0000
committerXavier Roche <xroche@users.noreply.github.com>2013-06-26 20:06:50 +0000
commita835ee13e3f5a095467e645bd1ddea5ee208599e (patch)
treed7412dd6f882ee6b55f97a3b74c6d56705ca7ccc /src/htsindex.c
parentb5e663cd80904d70ad2f0d6202a0c3ce6e582b58 (diff)
Fixed old 3-hashtable missing free on exit
Always use default starting hash size
Diffstat (limited to 'src/htsindex.c')
-rw-r--r--src/htsindex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/htsindex.c b/src/htsindex.c
index 1fa453e..30fe59a 100644
--- a/src/htsindex.c
+++ b/src/htsindex.c
@@ -197,7 +197,7 @@ int index_keyword(const char *html_data, LLint size, const char *mime,
// Create hash structure
// Hash tables rulez da world!
- WordIndexHash = inthash_new(WordIndexSize);
+ WordIndexHash = inthash_new(0);
if (!WordIndexHash)
return 0;