summaryrefslogtreecommitdiffstats
path: root/src/pacman/sync.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pacman/sync.c')
-rw-r--r--src/pacman/sync.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pacman/sync.c b/src/pacman/sync.c
index 5f1072ff..6f3c5d5e 100644
--- a/src/pacman/sync.c
+++ b/src/pacman/sync.c
@@ -532,6 +532,7 @@ int sync_trans(alpm_list_t *targets, int sync_only)
if(prov) {
pmpkg_t *pkg = alpm_list_getdata(prov);
pname = alpm_pkg_get_name(pkg);
+ alpm_list_free(prov);
break;
}
}