Module: wine Branch: master Commit: 16bd9d53b91df0adef75aa2cf9a518137f242964 URL: http://source.winehq.org/git/wine.git/?a=commit;h=16bd9d53b91df0adef75aa2cf9...
Author: Nikolay Sivov nsivov@codeweavers.com Date: Tue Apr 27 23:45:07 2010 +0400
ole32: Avoid uninitialized value to be potentialy passed to UnhookWindowsHookEx.
---
dlls/ole32/ole2.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/ole32/ole2.c b/dlls/ole32/ole2.c index 6c0f8c1..0bb7437 100644 --- a/dlls/ole32/ole2.c +++ b/dlls/ole32/ole2.c @@ -1197,6 +1197,7 @@ static BOOL OLEMenu_InstallHooks( DWORD tid )
pHookItem->tid = tid; pHookItem->hHeap = GetProcessHeap(); + pHookItem->CallWndProc_hHook = NULL;
/* Install a thread scope message hook for WH_GETMESSAGE */ pHookItem->GetMsg_hHook = SetWindowsHookExW( WH_GETMESSAGE, OLEMenu_GetMsgProc,