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>
Rene Scharfe committed
Aug 30, 2017 at 20:20 UTC
9f00492161f5f5ff90395c3b3e11137a87a1562d
1 file changed
+1
vcs-svn/svndump.c
+1
@@ -318,6 +318,7 @@ static void end_revision(const char *note_ref)
318
strbuf_addf(&mark, ":%"PRIu32, rev_ctx.revision);
319
fast_export_note(mark.buf, "inline");
320
fast_export_buf_to_data(&rev_ctx.note);
321
+ strbuf_release(&mark);
322
}
323
}
324