summaryrefslogtreecommitdiffstats
path: root/scripts/pkgdelta.sh.in
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-03-15 04:06:24 +0100
committerDan McGee <dan@archlinux.org>2012-03-15 04:44:49 +0100
commitf41037358af167424403d30a3b972b1fd733c755 (patch)
treedcbb6419cb59dffbe8ab5c9b3436668d2d45e94a /scripts/pkgdelta.sh.in
parent952ee5e6cb8bb1849c1bceedae38744935c82fca (diff)
downloadpacman-f41037358af167424403d30a3b972b1fd733c755.tar.gz
pacman-f41037358af167424403d30a3b972b1fd733c755.tar.xz
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 'scripts/pkgdelta.sh.in')
0 files changed, 0 insertions, 0 deletions