Commit db447d0f authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

jscript: Fixed crash in run test.

parent aea5d3d1
......@@ -530,7 +530,7 @@ static HRESULT rep_call(DispatchEx *func, const WCHAR *str, match_result_t *matc
static HRESULT String_replace(DispatchEx *dispex, LCID lcid, WORD flags, DISPPARAMS *dp,
VARIANT *retv, jsexcept_t *ei, IServiceProvider *caller)
{
DWORD parens_cnt, parens_size=0, rep_len=0, length;
DWORD parens_cnt = 0, parens_size=0, rep_len=0, length;
BSTR rep_str = NULL, match_str = NULL, ret_str;
DispatchEx *rep_func = NULL, *regexp = NULL;
match_result_t *parens = NULL, match;
......
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