summaryrefslogtreecommitdiff
path: root/vcs-svn/svndump.c
diff options
context:
space:
mode:
authorRene Scharfe <l.s.r@web.de>2017-08-30 18:20:17 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-09-06 23:49:29 (GMT)
commit9f00492161f5f5ff90395c3b3e11137a87a1562d (patch)
tree07fd897a47f8cefd49cb108df809f240b027e65c /vcs-svn/svndump.c
parent9a012bf32a3b21648ab96f2bd234a563c22e0ae7 (diff)
downloadgit-9f00492161f5f5ff90395c3b3e11137a87a1562d.zip
git-9f00492161f5f5ff90395c3b3e11137a87a1562d.tar.gz
git-9f00492161f5f5ff90395c3b3e11137a87a1562d.tar.bz2
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>
Diffstat (limited to 'vcs-svn/svndump.c')
-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 ec6b350..08d136b 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);
}
}