diff options
author | Dan McGee <dan@archlinux.org> | 2007-04-27 02:15:51 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-04-28 02:38:54 +0200 |
commit | 3cf8a333d04cd8b55edfe63bd8f4dd322a88a4d0 (patch) | |
tree | 4687343834084a984dcf2490699428310b21333f /lib/libalpm/cache.c | |
parent | ec7d6955b821c51a28efce31268c9c23cb1b5928 (diff) | |
download | pacman-3cf8a333d04cd8b55edfe63bd8f4dd322a88a4d0.tar.gz pacman-3cf8a333d04cd8b55edfe63bd8f4dd322a88a4d0.tar.xz |
Remove FREEGRP macro and correctly type _alpm_grp_free
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/cache.c')
-rw-r--r-- | lib/libalpm/cache.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libalpm/cache.c b/lib/libalpm/cache.c index 5f9b5fd0..632a9bbd 100644 --- a/lib/libalpm/cache.c +++ b/lib/libalpm/cache.c @@ -251,7 +251,8 @@ void _alpm_db_free_grpcache(pmdb_t *db) pmgrp_t *grp = lg->data; FREELISTPTR(grp->packages); - FREEGRP(lg->data); + _alpm_grp_free(lg->data); + lg->data = NULL; } FREELIST(db->grpcache); } |