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

This commit is contained in:
Jacek Caban 2009-11-01 19:21:19 +01:00 committed by Alexandre Julliard
parent 847a743f2c
commit ed10650472
1 changed files with 3 additions and 0 deletions

View File

@ -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) {