summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRene Scharfe <l.s.r@web.de>2017-08-30 20:20:17 +0200
committerJunio C Hamano <gitster@pobox.com>2017-09-07 08:49:29 +0900
commit9f00492161f5f5ff90395c3b3e11137a87a1562d (patch)
tree07fd897a47f8cefd49cb108df809f240b027e65c
parent9a012bf32a3b21648ab96f2bd234a563c22e0ae7 (diff)
downloadgit-9f00492161f5f5ff90395c3b3e11137a87a1562d.tar.gz
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.c1
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);
}
}