diff options
author | Rene Scharfe <l.s.r@web.de> | 2017-08-30 19:49:42 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-09-07 08:49:27 +0900 |
commit | 348eda249ebe1d91c832749e8bb3a0e7b7112b43 (patch) | |
tree | 1b05d9814cb22c5ac49af785397abe767527919c /diff.c | |
parent | fa842d843d4ed336cc21ba45d2d13ff83c63b22f (diff) | |
download | git-348eda249ebe1d91c832749e8bb3a0e7b7112b43.tar.gz |
diff: release strbuf after use in show_rename_copy()
Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff.c')
-rw-r--r-- | diff.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -5289,6 +5289,7 @@ static void show_rename_copy(struct diff_options *opt, const char *renamecopy, emit_diff_symbol(opt, DIFF_SYMBOL_SUMMARY, sb.buf, sb.len, 0); show_mode_change(opt, p, 0); + strbuf_release(&sb); } static void diff_summary(struct diff_options *opt, struct diff_filepair *p) |