summaryrefslogtreecommitdiff
path: root/src/htstools.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/htstools.c
parentb5e663cd80904d70ad2f0d6202a0c3ce6e582b58 (diff)
Fixed old 3-hashtable missing free on exit
Always use default starting hash size
Diffstat (limited to 'src/htstools.c')
-rw-r--r--src/htstools.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/htstools.c b/src/htstools.c
index 77fa70e..255a1a2 100644
--- a/src/htstools.c
+++ b/src/htstools.c
@@ -990,7 +990,7 @@ HTSEXT_API char *hts_getcategories(char *path, int type) {
String iname = STRING_EMPTY;
if (type == 1) {
- hashCateg = inthash_new(127);
+ hashCateg = inthash_new(0);
StringCat(categ, "Test category 1");
StringCat(categ, "\r\nTest category 2");
}