summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/libalpm/server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/server.c b/lib/libalpm/server.c
index 8aa5a45b..384df7c6 100644
--- a/lib/libalpm/server.c
+++ b/lib/libalpm/server.c
@@ -410,8 +410,8 @@ int _alpm_downloadfiles_forreal(alpm_list_t *servers, const char *localpath,
if(alpm_list_count(complete) == alpm_list_count(files)) {
done = 1;
}
- alpm_list_free(complete);
}
+ alpm_list_free(complete);
return(done ? 0 : -1);
}