jscript: Make sure to initialise the string output parameter in run_exec.

This commit is contained in:
Rob Shearman 2009-12-30 17:33:52 +00:00 committed by Alexandre Julliard
parent 7db81aeb67
commit 07183b28eb
1 changed files with 3 additions and 0 deletions

View File

@ -3642,6 +3642,9 @@ static HRESULT run_exec(script_ctx_t *ctx, vdisp_t *jsthis, VARIANT *arg, jsexce
SysFreeString(string);
set_last_index(regexp, 0);
*ret = VARIANT_FALSE;
if(input) {
*input = NULL;
}
return S_OK;
}