From a835ee13e3f5a095467e645bd1ddea5ee208599e Mon Sep 17 00:00:00 2001 From: Xavier Roche Date: Wed, 26 Jun 2013 20:06:50 +0000 Subject: Fixed old 3-hashtable missing free on exit Always use default starting hash size --- src/htstools.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/htstools.c') 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"); } -- cgit v1.2.3