a7be053faa
This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/cups-filters.git#d6cf1a69c5315a173ad0888df74a641087e6bf4e
18 lines
533 B
Diff
18 lines
533 B
Diff
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;
|
|
}
|
|
|