mirror of
https://github.com/moparisthebest/pacman
synced 2024-08-13 17:03:46 -04:00
_alpm_resolvedeps: free targ inside loop
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
fac9ac6c40
commit
c2edd31eae
@ -833,8 +833,9 @@ int _alpm_resolvedeps(alpm_handle_t *handle, alpm_list_t *localpkgs,
|
||||
}
|
||||
ret = -1;
|
||||
}
|
||||
alpm_list_free(targ);
|
||||
targ = NULL;
|
||||
}
|
||||
alpm_list_free(targ);
|
||||
alpm_list_free(deps);
|
||||
|
||||
if(ret != 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user