1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-11-10 11:35:00 -05:00

fixed a segfault

This commit is contained in:
Aurelien Foret 2005-04-19 20:03:28 +00:00
parent a215d1ebe0
commit f5cbbb2483

View File

@ -452,8 +452,8 @@ int pacman_sync(list_t *targets)
if(yesno(":: Upgrade pacman first? [Y/n] ")) { if(yesno(":: Upgrade pacman first? [Y/n] ")) {
/* ORE /* ORE
we should substitute existing targets with "pacman" */ we should substitute existing targets with "pacman" */
alpm_list_free(data);
retval = 0; retval = 0;
alpm_trans_release();
goto cleanup; goto cleanup;
} }
} }