From 9f00492161f5f5ff90395c3b3e11137a87a1562d Mon Sep 17 00:00:00 2001 From: Rene Scharfe Date: Wed, 30 Aug 2017 20:20:17 +0200 Subject: vcs-svn: release strbuf after use in end_revision() Signed-off-by: Rene Scharfe Signed-off-by: Junio C Hamano --- vcs-svn/svndump.c | 1 + 1 file changed, 1 insertion(+) (limited to 'vcs-svn') 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); } } -- cgit v1.2.3