free makedepends/checkdepends when freeing packages
Credit to Andrew for identifying source of the leak. Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
80321b21ae
commit
1a343d378a
1 changed files with 2 additions and 0 deletions
|
@ -683,6 +683,8 @@ void _alpm_pkg_free(alpm_pkg_t *pkg)
|
|||
alpm_list_free(pkg->backup);
|
||||
free_deplist(pkg->depends);
|
||||
free_deplist(pkg->optdepends);
|
||||
free_deplist(pkg->checkdepends);
|
||||
free_deplist(pkg->makedepends);
|
||||
free_deplist(pkg->conflicts);
|
||||
free_deplist(pkg->provides);
|
||||
alpm_list_free(pkg->removes);
|
||||
|
|
Loading…
Add table
Reference in a new issue