[LOCALMON]
[reactos.git] / reactos / win32ss / printing / monitors / localmon / main.c
index 336a03a..66e127f 100644 (file)
@@ -223,6 +223,7 @@ InitializePrintMonitor2(PMONITORINIT pMonitorInit, PHANDLE phMonitor)
         if (!cchPortName || _IsNEPort(pPort->pwszPortName))
         {
             DllFreeSplMem(pPort);
+            pPort = NULL;
             continue;
         }