summaryrefslogtreecommitdiff
path: root/src/imlib.c
diff options
context:
space:
mode:
authorDennis Real <github@tildepipe.org>2012-03-31 18:43:47 +0200
committerDennis Real <github@tildepipe.org>2012-03-31 18:43:47 +0200
commit58dd2e303c5ee380527d92a3fa3d6baeeacb50a1 (patch)
tree54204229407976231cf12cfb202de2a61ea19bed /src/imlib.c
parentcf6f0320c15abd753951990a963d5c94b180bbde (diff)
parent82a976e0909e02ba8c25e4fd10d0e56a3e5c13ca (diff)
Merge branch 'master' of git://github.com/derf/feh
Diffstat (limited to 'src/imlib.c')
-rw-r--r--src/imlib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/imlib.c b/src/imlib.c
index 9aa166f..4f7ff24 100644
--- a/src/imlib.c
+++ b/src/imlib.c
@@ -305,6 +305,7 @@ static char *feh_magick_load_image(char *filename)
if (!WIFEXITED(status) || (WEXITSTATUS(status) != 0)) {
close(fd);
unlink(sfn);
+ free(sfn);
sfn = NULL;
if (!opt.quiet) {