diff options
author | Rene Scharfe <l.s.r@web.de> | 2017-08-30 20:20:17 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-09-07 08:49:29 +0900 |
commit | 9f00492161f5f5ff90395c3b3e11137a87a1562d (patch) | |
tree | 07fd897a47f8cefd49cb108df809f240b027e65c | |
parent | utf8: release strbuf on error return in strbuf_utf8_replace() (diff) | |
download | tgif-9f00492161f5f5ff90395c3b3e11137a87a1562d.tar.xz |
vcs-svn: release strbuf after use in end_revision()
Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r-- | vcs-svn/svndump.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vcs-svn/svndump.c b/vcs-svn/svndump.c index ec6b350611..08d136b8cc 100644 --- a/vcs-svn/svndump.c +++ b/vcs-svn/svndump.c @@ -318,6 +318,7 @@ static void end_revision(const char *note_ref) strbuf_addf(&mark, ":%"PRIu32, rev_ctx.revision); fast_export_note(mark.buf, "inline"); fast_export_buf_to_data(&rev_ctx.note); + strbuf_release(&mark); } } |