mirror of
https://github.com/git/git.git
synced 2024-11-24 02:17:02 +08:00
notes: release strbuf after use in notes_copy_from_stdin()
Signed-off-by: Rene Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
814c4b3747
commit
1f3992f4be
@ -328,6 +328,7 @@ static int notes_copy_from_stdin(int force, const char *rewrite_cmd)
|
||||
} else {
|
||||
finish_copy_notes_for_rewrite(c, msg);
|
||||
}
|
||||
strbuf_release(&buf);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user