fixed a possible memory corruption
This commit is contained in:
parent
7ff3ad054b
commit
07a38db48d
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ PMList *db_find_conflicts(pmdb_t *db, PMList *targets, char *root, PMList **skip
|
|||
* Our workaround is to scan through all "old" packages and all "new"
|
||||
* ones, looking for files that jump to different packages.
|
||||
*/
|
||||
*skip_list = pm_list_add(*skip_list, filestr);
|
||||
*skip_list = pm_list_add(*skip_list, strdup(filestr));
|
||||
}
|
||||
FREEPKG(dbpkg2);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue