Commit c1a85ae2ab609ac9d5e9a18c4f644108c8462a43

Nika Layzell 2018-06-04T11:36:44

mailmap: Free the mailmap vector

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/mailmap.c b/src/mailmap.c
index bfee489..e4b924c 100644
--- a/src/mailmap.c
+++ b/src/mailmap.c
@@ -169,6 +169,8 @@ void git_mailmap_free(git_mailmap *mm)
 
 	git_vector_foreach(&mm->entries, idx, entry)
 		mailmap_entry_free(entry);
+
+	git_vector_free(&mm->entries);
 	git__free(mm);
 }