]> git.ipfire.org Git - thirdparty/git.git/blobdiff - object.c
Merge branch 'en/strmap'
[thirdparty/git.git] / object.c
index 05544bc92ba8e9751a773d489cf82ba4a936194d..68f80b0b3d83e09f46bf3875c45647cee79772e8 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)