Well that silly memory clobber was plain old "uninitialized data" - fixed
This commit is contained in:
parent
958a838189
commit
2119467392
1 changed files with 1 additions and 1 deletions
|
@ -405,7 +405,7 @@ int pacman_sync(alpm_list_t *targets)
|
|||
{
|
||||
int confirm = 0;
|
||||
int retval = 0;
|
||||
alpm_list_t *packages, *data, *i, *j, *k, *sync_dbs;
|
||||
alpm_list_t *packages, *data = NULL, *i, *j, *k, *sync_dbs;
|
||||
|
||||
sync_dbs = alpm_option_get_syncdbs();
|
||||
if(sync_dbs == NULL || alpm_list_count(sync_dbs) == 0) {
|
||||
|
|
Loading…
Add table
Reference in a new issue