mshtml: Don't crash in before_async_open if there is no client site.

This commit is contained in:
Jacek Caban 2008-01-10 12:53:14 +01:00 committed by Alexandre Julliard
parent 388edd1086
commit 7de847c6ee
1 changed files with 3 additions and 0 deletions

View File

@ -116,6 +116,9 @@ static BOOL before_async_open(nsChannel *channel, NSContainer *container)
doc = container_iter->doc;
}
if(!doc->client)
return TRUE;
if(!hlnf && !exec_shldocvw_67(doc, uri))
return FALSE;