Ken Thomases : gdi.exe16: Don't double-close the spool file.
Module: wine Branch: master Commit: b035b0bad71ed9003f2984267fcfd3b92cf4cdbb URL: http://source.winehq.org/git/wine.git/?a=commit;h=b035b0bad71ed9003f2984267f... Author: Ken Thomases <ken(a)codeweavers.com> Date: Wed Nov 30 10:06:00 2011 -0600 gdi.exe16: Don't double-close the spool file. FreePrintJob() closes the file descriptor. --- dlls/gdi.exe16/printdrv.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/dlls/gdi.exe16/printdrv.c b/dlls/gdi.exe16/printdrv.c index f00eaa1..6beb996 100644 --- a/dlls/gdi.exe16/printdrv.c +++ b/dlls/gdi.exe16/printdrv.c @@ -388,8 +388,6 @@ INT16 WINAPI CloseJob16(HPJOB16 hJob) pPrintJob = FindPrintJobFromHandle(hJob); if (pPrintJob != NULL) { - /* Close the spool file */ - close(pPrintJob->fd); FreePrintJob(hJob); nRet = 1; }
participants (1)
-
Alexandre Julliard