Fix leak in total progress bar
Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
0ccb584262
commit
f763ff774a
1 changed files with 1 additions and 0 deletions
|
@ -393,6 +393,7 @@ void cb_event(void *ctx, alpm_event_t *event)
|
|||
if(total_enabled) {
|
||||
update_bar_finalstats(totalbar);
|
||||
draw_pacman_progress_bar(totalbar);
|
||||
free(totalbar->filename);
|
||||
free(totalbar);
|
||||
printf("\n");
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue