summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-04-27 20:06:29 +0200
committerDaniel Friesel <derf@finalrewind.org>2011-04-27 20:06:29 +0200
commit1c420e26c23f302e54c28d6e473fe2f95e970a8e (patch)
tree640bdf06d70d5c6a2baccf67a02f96afa9bda4ff
parente8a85bae1ce450588aee5c88b4ba529c1b2c326c (diff)
parent563e8c03721d9721dc5bdccd9faef6a23f677833 (diff)
Merge branch 'libcurl' of git://github.com/talisein/feh
-rw-r--r--src/imlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imlib.c b/src/imlib.c
index dcf3c5c..3f73a24 100644
--- a/src/imlib.c
+++ b/src/imlib.c
@@ -291,8 +291,8 @@ char *feh_http_load_image(char *url)
return sfn;
} else {
weprintf("open url: fdopen failed:");
- free(sfn);
unlink(sfn);
+ free(sfn);
close(fd);
}
} else {