* jc/plug-fmt-merge-msg-leak:
fmt-merge-msg: plug small leak of commit buffer
free(name_buf);
}
- const char *buffer = get_commit_buffer(commit);
+
+ static void record_person(int which, struct string_list *people,
+ struct commit *commit)
+ {
++ const char *buffer = get_commit_buffer(commit, NULL);
+ record_person_from_buf(which, people, buffer);
+ unuse_commit_buffer(commit, buffer);
+ }
+
static int cmp_string_list_util_as_integral(const void *a_, const void *b_)
{
const struct string_list_item *a = a_, *b = b_;