Commit ed106504 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Don't create dynamic property if alloc arg is false.

parent 847a743f
......@@ -390,6 +390,9 @@ static HRESULT get_dynamic_prop(DispatchEx *This, const WCHAR *name, DWORD flags
}
}
if(!alloc)
return DISP_E_UNKNOWNNAME;
TRACE("creating dynamic prop %s\n", debugstr_w(name));
if(!data->buf_size) {
......
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