Fix memory leak when setting up download bars
Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
3436bc6c3e
commit
0fe764a253
1 changed files with 2 additions and 0 deletions
|
@ -887,6 +887,8 @@ static void dload_init_event(const char *filename, alpm_download_event_init_t *d
|
|||
printf("\n");
|
||||
multibar_ui.cursor_lineno++;
|
||||
}
|
||||
|
||||
free(cleaned_filename);
|
||||
}
|
||||
|
||||
/* Update progress bar rate/eta stats.
|
||||
|
|
Loading…
Add table
Reference in a new issue