diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-09-09 12:53:59 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-09-09 12:53:59 -0700 |
commit | 1bada2b0ccd19ca40c18f01cb4d66675d32d385c (patch) | |
tree | 27a31d3c616dd647e350ad64cb4c3d256ff5c639 /builtin | |
parent | Merge branch 'lf/bundle-exclusion' (diff) | |
parent | builtin/log.c: fix minor memory leak (diff) | |
download | tgif-1bada2b0ccd19ca40c18f01cb4d66675d32d385c.tar.xz |
Merge branch 'mm/log-branch-desc-plug-leak'
* mm/log-branch-desc-plug-leak:
builtin/log.c: fix minor memory leak
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/log.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/log.c b/builtin/log.c index 4389722b4b..e4d812208d 100644 --- a/builtin/log.c +++ b/builtin/log.c @@ -864,6 +864,7 @@ static void add_branch_description(struct strbuf *buf, const char *branch_name) strbuf_addbuf(buf, &desc); strbuf_addch(buf, '\n'); } + strbuf_release(&desc); } static char *find_branch_name(struct rev_info *rev) |