]> git.ipfire.org Git - thirdparty/git.git/blobdiff - diff.c
Merge branch 'en/strmap'
[thirdparty/git.git] / diff.c
diff --git a/diff.c b/diff.c
index ace4a1d387db59fedeaef42abcc0a8e9d604a965..643f4f3f6d02583ba74b81a5454ec89a79784161 100644 (file)
--- a/diff.c
+++ b/diff.c
@@ -6315,9 +6315,9 @@ static void diff_flush_patch_all_file_pairs(struct diff_options *o)
                        if (o->color_moved == COLOR_MOVED_ZEBRA_DIM)
                                dim_moved_lines(o);
 
-                       hashmap_free_entries(&add_lines, struct moved_entry,
+                       hashmap_clear_and_free(&add_lines, struct moved_entry,
                                                ent);
-                       hashmap_free_entries(&del_lines, struct moved_entry,
+                       hashmap_clear_and_free(&del_lines, struct moved_entry,
                                                ent);
                }