summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/imlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imlib.c b/src/imlib.c
index 92c196a..2460924 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 {