index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Johannes Löthberg <johannes@kyriasis.com> | 2014-12-22 15:11:38 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2014-12-24 11:19:30 +1000 |
commit | 9f527d2de453b542293e24d85ee894fa6452259a (patch) | |
tree | 0718d9cfc13cf3b81d02b6b5e8e94df49aae3f8c /lib/libalpm/package.c | |
parent | fda599df3773955aa2f95a842649902e41f4e0bc (diff) |
-rw-r--r-- | lib/libalpm/package.c | 2 |
diff --git a/lib/libalpm/package.c b/lib/libalpm/package.c index e2997f69..3be5e74e 100644 --- a/lib/libalpm/package.c +++ b/lib/libalpm/package.c @@ -566,6 +566,7 @@ int _alpm_pkg_dup(alpm_pkg_t *pkg, alpm_pkg_t **new_ptr) newpkg->name_hash = pkg->name_hash; STRDUP(newpkg->filename, pkg->filename, goto cleanup); + STRDUP(newpkg->base, pkg->base, goto cleanup); STRDUP(newpkg->name, pkg->name, goto cleanup); STRDUP(newpkg->version, pkg->version, goto cleanup); STRDUP(newpkg->desc, pkg->desc, goto cleanup); @@ -641,6 +642,7 @@ void _alpm_pkg_free(alpm_pkg_t *pkg) } FREE(pkg->filename); + FREE(pkg->base); FREE(pkg->name); FREE(pkg->version); FREE(pkg->desc); |