jscript: Remove redundant NULL check before SysFreeString (Smatch).

This commit is contained in:
Michael Stefaniuc 2008-09-24 23:04:20 +02:00 committed by Alexandre Julliard
parent c3bdda8102
commit 9c0d148dd5
1 changed files with 2 additions and 2 deletions

View File

@ -1930,9 +1930,9 @@ static HRESULT add_eval(exec_ctx_t *ctx, VARIANT *lval, VARIANT *rval, jsexcept_
memcpy(V_BSTR(retv)+len1, rstr, (len2+1)*sizeof(WCHAR));
}
if(lstr && V_VT(&l) != VT_BSTR)
if(V_VT(&l) != VT_BSTR)
SysFreeString(lstr);
if(rstr && V_VT(&r) != VT_BSTR)
if(V_VT(&r) != VT_BSTR)
SysFreeString(rstr);
}else {
VARIANT nl, nr;