user32: Avoid a potential NULL pointer dereference in a TRACE.
This commit is contained in:
parent
9dc835c2bc
commit
629a0b8057
|
@ -392,8 +392,8 @@ static LRESULT CALLBACK WDML_ServerNameProc(HWND hwndServer, UINT iMsg, WPARAM w
|
|||
hwndClient = (HWND)wParam;
|
||||
|
||||
pInstance = WDML_GetInstanceFromWnd(hwndServer);
|
||||
TRACE("idInst=%d, threadID=0x%x\n", pInstance->instanceID, GetCurrentThreadId());
|
||||
if (!pInstance) return 0;
|
||||
TRACE("idInst=%d, threadID=0x%x\n", pInstance->instanceID, GetCurrentThreadId());
|
||||
|
||||
/* don't free DDEParams, since this is a broadcast */
|
||||
UnpackDDElParam(WM_DDE_INITIATE, lParam, &uiLo, &uiHi);
|
||||
|
|
Loading…
Reference in New Issue