index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2012-11-24 13:15:04 -0500 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2012-12-14 12:35:34 +1000 |
commit | 964640fbfcde48b7937a6c18964c78a3b11db3de (patch) | |
tree | 45673e7952283f229afda38c3f753b1052a4082e /lib/libalpm/be_local.c | |
parent | c8417f3386155028015f7f9fc43f4c64a60acf4c (diff) |
-rw-r--r-- | lib/libalpm/be_local.c | 1 |
diff --git a/lib/libalpm/be_local.c b/lib/libalpm/be_local.c index bbc0a8ac..f0e4a80f 100644 --- a/lib/libalpm/be_local.c +++ b/lib/libalpm/be_local.c @@ -943,6 +943,7 @@ int _alpm_local_db_remove(alpm_db_t *db, alpm_pkg_t *info) dirp = opendir(pkgpath); if(!dirp) { + free(pkgpath); return -1; } /* go through the local DB entry, removing the files within, which we know |