index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2007-04-28 03:54:25 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-04-28 03:54:25 -0400 |
commit | a57b2f233f28c275b0b171cb291415351f9ec87d (patch) | |
tree | 2a3cd06f53fc4d4b917c1a2f98414e445fee72ae /lib/libalpm/cache.c | |
parent | a8b683d8e29510742f94c7ff558cda19d6644b68 (diff) |
-rw-r--r-- | lib/libalpm/cache.c | 3 |
diff --git a/lib/libalpm/cache.c b/lib/libalpm/cache.c index 72825c00..55ca6f51 100644 --- a/lib/libalpm/cache.c +++ b/lib/libalpm/cache.c @@ -254,7 +254,8 @@ void _alpm_db_free_grpcache(pmdb_t *db) for(lg = db->grpcache; lg; lg = lg->next) { pmgrp_t *grp = lg->data; - FREELISTPTR(grp->packages); + alpm_list_free(grp->packages); + grp->packages = NULL; _alpm_grp_free(lg->data); lg->data = NULL; } |