summaryrefslogtreecommitdiffstats
path: root/src/pacman/remove.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pacman/remove.c')
-rw-r--r--src/pacman/remove.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pacman/remove.c b/src/pacman/remove.c
index 1028d9e8..ae2595a5 100644
--- a/src/pacman/remove.c
+++ b/src/pacman/remove.c
@@ -133,8 +133,7 @@ int pacman_remove(alpm_list_t *targets)
depstring);
free(depstring);
}
- alpm_list_free_inner(data, free);
- alpm_list_free(data);
+ FREELIST(data);
break;
default:
break;