From: Rene Scharfe Date: Wed, 30 Aug 2017 18:20:17 +0000 (+0200) Subject: vcs-svn: release strbuf after use in end_revision() X-Git-Tag: v2.15.0-rc0~78^2~2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/9f00492161f5f5ff90395c3b3e11137a87a1562d?hp=--cc vcs-svn: release strbuf after use in end_revision() Signed-off-by: Rene Scharfe Signed-off-by: Junio C Hamano --- 9f00492161f5f5ff90395c3b3e11137a87a1562d 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); } }