Skip to content

Commit

Permalink
vcs-svn: release strbuf after use in end_revision()
Browse files Browse the repository at this point in the history
Signed-off-by: Rene Scharfe <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>
  • Loading branch information
rscharfe authored and gitster committed Sep 6, 2017
1 parent 9a012bf commit 9f00492
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vcs-svn/svndump.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand Down

0 comments on commit 9f00492

Please sign in to comment.