Commit 307f163f authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard

mshtml: Handle NULL aNode in nsContextMenuListener_OnShowContextMenu.

parent 984d586d
......@@ -1601,6 +1601,9 @@ static nsresult NSAPI nsContextMenuListener_OnShowContextMenu(nsIContextMenuList
TRACE("(%p)->(%08x %p %p)\n", This, aContextFlags, aEvent, aNode);
if (!aNode)
return NS_ERROR_FAILURE;
hres = get_node(aNode, TRUE, &node);
if(FAILED(hres))
return NS_ERROR_FAILURE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment