summaryrefslogtreecommitdiff
path: root/src/pacman/add.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pacman/add.c')
-rw-r--r--src/pacman/add.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pacman/add.c b/src/pacman/add.c
index e04707f2..607ac1f0 100644
--- a/src/pacman/add.c
+++ b/src/pacman/add.c
@@ -175,8 +175,7 @@ int pacman_add(alpm_list_t *targets)
break;
}
add_cleanup();
- alpm_list_free_inner(data, free);
- alpm_list_free(data);
+ FREELIST(data);
return(1);
}
alpm_list_free(data);