Blob Blame History Raw
diff -Napur cups-1.6.3-sf02319920.old/scheduler/client.c cups-1.6.3-sf02319920.new/scheduler/client.c
--- cups-1.6.3-sf02319920.old/scheduler/client.c	2019-03-08 12:25:45.194149311 -0800
+++ cups-1.6.3-sf02319920.new/scheduler/client.c	2019-03-08 12:28:28.658849320 -0800
@@ -647,7 +647,12 @@ cupsdCloseClient(cupsd_client_t *con)	/*
     httpClearCookie(HTTP(con));
     httpClearFields(HTTP(con));
 
-    cupsdClearString(&con->filename);
+    if (con->filename)
+    {
+      unlink(con->filename);
+      cupsdClearString(&con->filename);
+    }
+    
     cupsdClearString(&con->command);
     cupsdClearString(&con->options);
     cupsdClearString(&con->query_string);