6 Jan
2014
6 Jan
'14
5:52 p.m.
alpm_pkg_compute_optional returns a generated list that needs to be free'd. Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> --- src/pacman/package.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pacman/package.c b/src/pacman/package.c index 8ccdc1b..be01f63 100644 --- a/src/pacman/package.c +++ b/src/pacman/package.c @@ -235,6 +235,7 @@ void dump_pkg_full(alpm_pkg_t *pkg, int extra) printf("\n"); FREELIST(requiredby); + FREELIST(optionalfor); alpm_list_free(validation); } -- 1.8.5.2