Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/Makefile.am
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-03-14 23:06:24 -0400
committerDan McGee <dan@archlinux.org>2012-03-14 22:44:49 -0500
commitf41037358af167424403d30a3b972b1fd733c755 (patch)
treedcbb6419cb59dffbe8ab5c9b3436668d2d45e94a /lib/libalpm/Makefile.am
parent952ee5e6cb8bb1849c1bceedae38744935c82fca (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 'lib/libalpm/Makefile.am')
0 files changed, 0 insertions, 0 deletions