X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=patch-ids.c;h=21973e49332c36532438bb067c8821a0e377baf9;hb=b5b71cbd5dd2a811bd2ddd0b88da1c337c02bb3c;hp=12aa6d494b4ed47d1a486307b6b9d9024ee78734;hpb=fda2baffd25226d5ebfbd93df53633b447185499;p=thirdparty%2Fgit.git diff --git a/patch-ids.c b/patch-ids.c index 12aa6d494b..21973e4933 100644 --- a/patch-ids.c +++ b/patch-ids.c @@ -71,7 +71,7 @@ int init_patch_ids(struct repository *r, struct patch_ids *ids) int free_patch_ids(struct patch_ids *ids) { - hashmap_free_entries(&ids->patches, struct patch_id, ent); + hashmap_clear_and_free(&ids->patches, struct patch_id, ent); return 0; }