summaryrefslogtreecommitdiff
path: root/src/imlib.c
diff options
context:
space:
mode:
authorDennis Real <github@tildepipe.org>2012-03-07 17:18:07 +0100
committerDennis Real <github@tildepipe.org>2012-03-07 17:18:07 +0100
commit77fa5aca182435f2771511832ea198d027393ceb (patch)
tree60f98ece1a21b9bcdde21503871d290c3b9d3a2a /src/imlib.c
parent93a90e60d0cf093ca71c34f4f5dbfde974f433f0 (diff)
parent3b2756bf2517f41b319adf9b3155efd1486a801b (diff)
Merge branch 'master' of git://github.com/derf/feh
Diffstat (limited to 'src/imlib.c')
-rw-r--r--src/imlib.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/imlib.c b/src/imlib.c
index 1b17b49..c0252c3 100644
--- a/src/imlib.c
+++ b/src/imlib.c
@@ -1108,7 +1108,7 @@ void feh_edit_inplace_lossless(winwidget w, int op)
"-outfile", file_str, file_str, NULL);
im_weprintf(w, "lossless %s: Is 'jpegtran' installed? Failed to exec:", op_name);
- return;
+ exit(1);
} else {
waitpid(pid, &status, 0);
@@ -1118,9 +1118,11 @@ void feh_edit_inplace_lossless(winwidget w, int op)
" Commandline was: "
"jpegtran -copy all %s %s -outfile %s %s",
op_name, status >> 8, op_op, op_value, file_str, file_str);
+ free(file_str);
return;
}
}
+ free(file_str);
}
void feh_draw_actions(winwidget w)