diff options
author | Rene Scharfe <l.s.r@web.de> | 2017-08-30 19:49:43 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-09-07 08:49:27 +0900 |
commit | 5a612017eb7865de10dc21f3d3f8856e8205456e (patch) | |
tree | f144d27128a48d4f503ec36e343d57766ec6ac0a /diff.c | |
parent | 348eda249ebe1d91c832749e8bb3a0e7b7112b43 (diff) | |
download | git-5a612017eb7865de10dc21f3d3f8856e8205456e.tar.gz |
diff: release strbuf after use in show_stats()
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
@@ -2583,6 +2583,7 @@ static void show_stats(struct diffstat_t *data, struct diff_options *options) } print_stat_summary_inserts_deletes(options, total_files, adds, dels); + strbuf_release(&out); } static void show_shortstats(struct diffstat_t *data, struct diff_options *options) |