From a57b2f233f28c275b0b171cb291415351f9ec87d Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sat, 28 Apr 2007 03:54:25 -0400 Subject: Remove FREELISTPTR macro Signed-off-by: Dan McGee --- lib/libalpm/cache.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/libalpm/cache.c') 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; } -- cgit v1.2.3-70-g09d2