Merge branch 'mm/log-branch-desc-plug-leak'

* mm/log-branch-desc-plug-leak:
  builtin/log.c: fix minor memory leak
maint
Junio C Hamano 2014-09-09 12:53:59 -07:00
commit 1bada2b0cc
1 changed files with 1 additions and 0 deletions

View File

@ -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)