jscript: Initialize VARIANT before passing it to disp_propget.

oldstable
Jacek Caban 2011-12-12 14:44:20 +01:00 committed by Alexandre Julliard
parent 2c8e8948df
commit 64ef20ce53
1 changed files with 1 additions and 0 deletions

View File

@ -1579,6 +1579,7 @@ static HRESULT interp_member(exec_ctx_t *ctx)
hres = disp_get_id(ctx->parser->script, obj, arg, 0, &id);
if(SUCCEEDED(hres)) {
V_VT(&v) = VT_EMPTY;
hres = disp_propget(ctx->parser->script, obj, id, &v, &ctx->ei, NULL/*FIXME*/);
}else if(hres == DISP_E_UNKNOWNNAME) {
V_VT(&v) = VT_EMPTY;