diff options
Diffstat (limited to 'builtin/log.c')
-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 39e8836352..308761693e 100644 --- a/builtin/log.c +++ b/builtin/log.c @@ -859,6 +859,7 @@ static void add_branch_description(struct strbuf *buf, const char *branch_name) strbuf_add(buf, desc.buf, desc.len); strbuf_addch(buf, '\n'); } + strbuf_release(&desc); } static char *find_branch_name(struct rev_info *rev) |