You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
533 B
18 lines
533 B
diff --git a/filter/foomatic-rip/foomaticrip.c b/filter/foomatic-rip/foomaticrip.c
|
|
index 7dc2426..146125f 100644
|
|
--- a/filter/foomatic-rip/foomaticrip.c
|
|
+++ b/filter/foomatic-rip/foomaticrip.c
|
|
@@ -672,6 +672,12 @@ int print_file(const char *filename, int convert)
|
|
if (out != NULL)
|
|
fclose(out);
|
|
|
|
+ // Delete temp file if we created one
|
|
+ if ( *tmpfilename ) {
|
|
+ _log("Removing temporary file %s\n", tmpfilename);
|
|
+ unlink(tmpfilename);
|
|
+ }
|
|
+
|
|
return ret;
|
|
}
|
|
|