index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | lib/libalpm/package.c | 4 |
diff --git a/lib/libalpm/package.c b/lib/libalpm/package.c index fe568fe0..4f2bcaaa 100644 --- a/lib/libalpm/package.c +++ b/lib/libalpm/package.c @@ -121,8 +121,10 @@ pmpkg_t *_alpm_pkg_dup(pmpkg_t *pkg) return(newpkg); } -void _alpm_pkg_free(pmpkg_t *pkg) +void _alpm_pkg_free(void *data) { + pmpkg_t *pkg = data; + if(pkg == NULL) { return; } |