mirror of
https://github.com/reactos/wine.git
synced 2024-11-28 06:00:45 +00:00
mshtml: Properly handle GetScheme failure.
This commit is contained in:
parent
43b38e1420
commit
90f7c8f848
@ -1941,8 +1941,7 @@ HRESULT super_navigate(HTMLWindow *window, IUri *uri, const WCHAR *headers, BYTE
|
||||
prepare_for_binding(&window->doc_obj->basedoc, mon, TRUE);
|
||||
|
||||
hres = IUri_GetScheme(uri, &scheme);
|
||||
|
||||
if(scheme != URL_SCHEME_JAVASCRIPT) {
|
||||
if(SUCCEEDED(hres) && scheme != URL_SCHEME_JAVASCRIPT) {
|
||||
navigate_task_t *task;
|
||||
|
||||
task = heap_alloc(sizeof(*task));
|
||||
|
Loading…
Reference in New Issue
Block a user