Commit b035b0ba authored by Ken Thomases's avatar Ken Thomases Committed by Alexandre Julliard

gdi.exe16: Don't double-close the spool file.

FreePrintJob() closes the file descriptor.
parent 990786ee
...@@ -388,8 +388,6 @@ INT16 WINAPI CloseJob16(HPJOB16 hJob) ...@@ -388,8 +388,6 @@ INT16 WINAPI CloseJob16(HPJOB16 hJob)
pPrintJob = FindPrintJobFromHandle(hJob); pPrintJob = FindPrintJobFromHandle(hJob);
if (pPrintJob != NULL) if (pPrintJob != NULL)
{ {
/* Close the spool file */
close(pPrintJob->fd);
FreePrintJob(hJob); FreePrintJob(hJob);
nRet = 1; nRet = 1;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment