summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2014-10-08 15:28:51 +0300
committerTimo Teräs <timo.teras@iki.fi>2014-10-08 15:29:04 +0300
commit275dd16c42b7208723cfa84ac9c6eb0dcb8071b6 (patch)
tree2dc4d9e751252991a6142517bb12b22ff425f709
parent32627939f5c57887b25100dd49aa91839876abed (diff)
downloadapk-tools-275dd16c42b7208723cfa84ac9c6eb0dcb8071b6.tar.gz
apk-tools-275dd16c42b7208723cfa84ac9c6eb0dcb8071b6.tar.bz2
apk-tools-275dd16c42b7208723cfa84ac9c6eb0dcb8071b6.tar.xz
apk-tools-275dd16c42b7208723cfa84ac9c6eb0dcb8071b6.zip
url: fix double free from late libfetch changes
-rw-r--r--src/url.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/url.c b/src/url.c
index 80f0a60..8ea89f4 100644
--- a/src/url.c
+++ b/src/url.c
@@ -87,7 +87,6 @@ static struct apk_istream *apk_istream_fetch(const char *url, time_t since)
.is.close = fetch_close,
.fetchIO = io,
};
- fetchFreeURL(u);
return &fis->is;
err: