summaryrefslogtreecommitdiff
path: root/src/poolid.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/poolid.c')
-rw-r--r--src/poolid.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/poolid.c b/src/poolid.c
index 0503224..05ba9ea 100644
--- a/src/poolid.c
+++ b/src/poolid.c
@@ -283,8 +283,7 @@ pool_shrink_rels(Pool *pool)
void
pool_freeidhashes(Pool *pool)
{
- pool->ss.stringhashtbl = sat_free(pool->ss.stringhashtbl);
- pool->ss.stringhashmask = 0;
+ stringpool_freehash(&pool->ss);
pool->relhashtbl = sat_free(pool->relhashtbl);
pool->relhashmask = 0;
}