]> git.ipfire.org Git - thirdparty/git.git/blobdiff - object.c
strmap: enable allocations to come from a mem_pool
[thirdparty/git.git] / object.c
index 32575186562507b2774c6abf097df7810e9cce5e..b8406409d583c08c17b114634390510793aecf55 100644 (file)
--- a/object.c
+++ b/object.c
@@ -532,7 +532,7 @@ void raw_object_store_clear(struct raw_object_store *o)
        close_object_store(o);
        o->packed_git = NULL;
 
-       hashmap_free(&o->pack_map);
+       hashmap_clear(&o->pack_map);
 }
 
 void parsed_object_pool_clear(struct parsed_object_pool *o)