From 3cf8a333d04cd8b55edfe63bd8f4dd322a88a4d0 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Thu, 26 Apr 2007 20:15:51 -0400 Subject: Remove FREEGRP macro and correctly type _alpm_grp_free 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 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); } -- cgit v1.2.3-70-g09d2