Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
diff: release strbuf after use in show_stats()
author
Rene Scharfe
<l.s.r@web.de>
Wed, 30 Aug 2017 17:49:43 +0000
(19:49 +0200)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 6 Sep 2017 23:49:27 +0000
(08:49 +0900)
Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
348eda2
)
diff --git
a/diff.c
b/diff.c
index 33c65f492dc49469162ae3ece5ab6a002305e5ed..64cdcf2331489ad178031b88140f61840d994bd2 100644
(file)
--- a/
diff.c
+++ b/
diff.c
@@
-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)