git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
348eda2
)
diff: release strbuf after use in show_stats()
author
Rene Scharfe
<redacted>
Wed, 30 Aug 2017 17:49:43 +0000
(19:49 +0200)
committer
Junio C Hamano
<redacted>
Wed, 6 Sep 2017 23:49:27 +0000
(08:49 +0900)
Signed-off-by: Rene Scharfe <redacted>
Signed-off-by: Junio C Hamano <redacted>
diff.c
patch
|
blob
|
history
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)
git clone https://git.99rst.org/PROJECT