mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-22 07:48:50 -05:00
add_fileconflict: free memory on error
Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
52d2ff648d
commit
88eedef6c6
@ -288,6 +288,7 @@ static alpm_list_t *add_fileconflict(alpm_handle_t *handle,
|
||||
return conflicts;
|
||||
|
||||
error:
|
||||
alpm_fileconflict_free(conflict);
|
||||
RET_ERR(handle, ALPM_ERR_MEMORY, conflicts);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user