summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2013-02-08 19:20:18 +0100
committerDaniel Friesel <derf@finalrewind.org>2013-02-08 19:20:18 +0100
commit71eb9b41250c907398ee8be426a9e5e450abe06c (patch)
tree34c33f0838d4a0840d8ed0d268d2d084b918b8f7
parent0084d755618c8a5a55f36bbdd2c17952dfae68f0 (diff)
delete temporary stdin-files when exiting
-rw-r--r--src/filelist.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/filelist.c b/src/filelist.c
index 0aafa64..bbde98c 100644
--- a/src/filelist.c
+++ b/src/filelist.c
@@ -186,6 +186,7 @@ static void add_stdin_to_filelist()
fclose(outfile);
filelist = gib_list_add_front(filelist, feh_file_new(sfn));
+ add_file_to_rm_filelist(sfn);
free(sfn);
}