small memleak fix in sync.c.
Signed-off-by: Chantry Xavier <shiningxc@gmail.com>
This commit is contained in:
parent
8ca6501ee1
commit
6b8f404a33
1 changed files with 2 additions and 1 deletions
|
@ -608,7 +608,8 @@ int _alpm_sync_prepare(pmtrans_t *trans, pmdb_t *db_local, alpm_list_t *dbs_sync
|
|||
goto cleanup;
|
||||
}
|
||||
FREELIST(asked);
|
||||
FREELIST(deps);
|
||||
alpm_list_free_inner(deps, (alpm_list_fn_free)_alpm_conflict_free);
|
||||
alpm_list_free(deps);
|
||||
}
|
||||
EVENT(trans, PM_TRANS_EVT_INTERCONFLICTS_DONE, NULL, NULL);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue