|
Software
»
Emulators
»
Wine
»
Wine - Patches
[PATCH 10/19] mshtml: Don't crash in notif_focus if client is NULL.
View:
Threaded
Chronologically
All Messages
New views
1 Messages —
Rating Filter:
0
1
2
3
4
5
Alert me
[PATCH 10/19] mshtml: Don't crash in notif_focus if client is NULL.
by Jacek Caban-2
:: Rate this Message:
Reply to Author
|
View Threaded
|
Show Only this Message
---
dlls/mshtml/view.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/dlls/mshtml/view.c b/dlls/mshtml/view.c
index bba0f23..6bc5e92 100644
--- a/dlls/mshtml/view.c
+++ b/dlls/mshtml/view.c
@@ -168,6 +168,9 @@ void notif_focus(HTMLDocument *This)
IOleControlSite *site;
HRESULT hres;
+ if(!This->client)
+ return;
+
hres = IOleClientSite_QueryInterface(This->client, &IID_IOleControlSite, (void**)&site);
if(FAILED(hres))
return;
LightInTheBox
- Buy quality products at
wholesale
price!
Free Forum
Powered by Nabble
Forum Help