index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-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 |