summaryrefslogtreecommitdiff
path: root/src/poolid.c
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2009-07-23 11:58:29 +0200
committerMichael Schroeder <mls@suse.de>2009-07-23 11:58:29 +0200
commite1e59a9e7325923e98268b6dfce5ef2b1aa9def9 (patch)
tree6c03143bb4a65ad609ff89dca3ddff478b111030 /src/poolid.c
parent0bc1a7769328f7c65436ad1a1bf2125d04358792 (diff)
downloadlibsolv-e1e59a9e7325923e98268b6dfce5ef2b1aa9def9.tar.gz
libsolv-e1e59a9e7325923e98268b6dfce5ef2b1aa9def9.tar.bz2
libsolv-e1e59a9e7325923e98268b6dfce5ef2b1aa9def9.zip
- beautify
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;
}