summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pacman/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/util.c b/src/pacman/util.c
index c367d36e..deb3e056 100644
--- a/src/pacman/util.c
+++ b/src/pacman/util.c
@@ -841,7 +841,7 @@ out:
/* cleanup */
if(config->verbosepkglists) {
/* targets is a list of lists of strings, free inner lists here */
- for(j = alpm_list_first(targets); j; j = alpm_list_next(j)) {
+ for(j = targets; j; j = alpm_list_next(j)) {
lp = alpm_list_getdata(j);
FREELIST(lp);
}