Fix memory leak when setting up download bars

Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
Allan McRae 2022-12-12 23:59:03 +10:00
parent 3436bc6c3e
commit 0fe764a253

View file

@ -887,6 +887,8 @@ static void dload_init_event(const char *filename, alpm_download_event_init_t *d
printf("\n"); printf("\n");
multibar_ui.cursor_lineno++; multibar_ui.cursor_lineno++;
} }
free(cleaned_filename);
} }
/* Update progress bar rate/eta stats. /* Update progress bar rate/eta stats.