Skip to content

Commit

Permalink
Merge branch 'mm/log-branch-desc-plug-leak'
Browse files Browse the repository at this point in the history
* mm/log-branch-desc-plug-leak:
  builtin/log.c: fix minor memory leak
  • Loading branch information
Junio C Hamano committed Sep 9, 2014
2 parents 7b41640 + 94204bf commit 1bada2b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions builtin/log.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1bada2b

Please sign in to comment.