From b6acb30aae5504736fd23f97402389baabbddb1b Mon Sep 17 00:00:00 2001 From: Chantry Xavier Date: Sat, 8 Dec 2007 09:58:49 +0100 Subject: src/pacman/: use the FREELIST macro when possible. Signed-off-by: Chantry Xavier Signed-off-by: Dan McGee --- src/pacman/callback.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/pacman/callback.c') diff --git a/src/pacman/callback.c b/src/pacman/callback.c index 3389ed85..05aec140 100644 --- a/src/pacman/callback.c +++ b/src/pacman/callback.c @@ -420,9 +420,7 @@ void cb_trans_progress(pmtransprog_t event, const char *pkgname, int percent, printf("%s", (char *)i->data); } fflush(stdout); - alpm_list_free_inner(output, free); - alpm_list_free(output); - output = NULL; + FREELIST(output); } else { on_progress = 1; } -- cgit v1.2.3-24-g4f1b