summaryrefslogtreecommitdiff
path: root/src/htshash.h
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/htshash.h
parentb5e663cd80904d70ad2f0d6202a0c3ce6e582b58 (diff)
Fixed old 3-hashtable missing free on exit
Always use default starting hash size
Diffstat (limited to 'src/htshash.h')
-rw-r--r--src/htshash.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/htshash.h b/src/htshash.h
index 62ea118..97b35ab 100644
--- a/src/htshash.h
+++ b/src/htshash.h
@@ -52,7 +52,8 @@ typedef enum hash_struct_type {
} hash_struct_type;
// tables de hachage
-void hash_init(hash_struct * hash);
+void hash_init(hash_struct *hash);
+void hash_free(hash_struct *hash);
int hash_read(const hash_struct * hash, const char *nom1, const char *nom2,
hash_struct_type type, int normalized);
void hash_write(hash_struct * hash, int lpos, int normalized);