diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-03-14 23:06:24 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-03-14 22:44:49 -0500 |
commit | f41037358af167424403d30a3b972b1fd733c755 (patch) | |
tree | dcbb6419cb59dffbe8ab5c9b3436668d2d45e94a /test/pacman/tests/sync-nodepversion04.py | |
parent | 952ee5e6cb8bb1849c1bceedae38744935c82fca (diff) |
lib/sync: avoid unwanted unlink after download fail
In case we have a mirror failure, unlink_on_fail would remain set,
causing an interrupt in a successive download attempt to be wrongly
unlinked.
This also fixes a memory leak in the url member, as we would allocate
over the previous, unfreed URL.
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'test/pacman/tests/sync-nodepversion04.py')
0 files changed, 0 insertions, 0 deletions