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>
This commit is contained in:
Rene Scharfe 2017-08-30 20:20:17 +02:00 committed by Junio C Hamano
parent 9a012bf32a
commit 9f00492161

View file

@ -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);
}
}