[WINPRINT]

- Avoid uninitialized hPrintMonitor in PrintRawJob failure case. Patch by Víctor Martínez Calvo
CORE-12792 #resolve

svn path=/trunk/; revision=73857
This commit is contained in:
Thomas Faber 2017-02-20 12:00:13 +00:00
parent d920d6c30a
commit 6cea30d6fe

View file

@ -31,7 +31,7 @@ PrintRawJob(PWINPRINT_HANDLE pHandle, PWSTR pwszPrinterAndJob)
DWORD cbWritten;
DWORD dwErrorCode;
HANDLE hPrintJob;
HANDLE hPrintMonitor;
HANDLE hPrintMonitor = NULL;
PBYTE pBuffer = NULL;
// Open the spooled job to read from it.