index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2007-08-21 23:29:10 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-08-21 23:29:10 -0400 |
commit | 515754faacf9dd33b94e6e5a17ca04d27d61f482 (patch) | |
tree | 4788e1d46318b1fd21184696683ec779a9ec7ddb /lib/libalpm/cache.c | |
parent | d09d114e99c29d1392c546a6553650ecde5138fc (diff) |
-rw-r--r-- | lib/libalpm/cache.c | 1 |
diff --git a/lib/libalpm/cache.c b/lib/libalpm/cache.c index 01abb96c..10021634 100644 --- a/lib/libalpm/cache.c +++ b/lib/libalpm/cache.c @@ -87,6 +87,7 @@ void _alpm_db_free_pkgcache(pmdb_t *db) for(tmp = db->pkgcache; tmp; tmp = alpm_list_next(tmp)) { _alpm_pkg_free(tmp->data); } + alpm_list_free(db->pkgcache); db->pkgcache = NULL; if(db->grpcache) { |