From 33d091fef60ffc10f8e2b1704a848a85c19cc7aa Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Sat, 9 Oct 2010 16:48:23 +0200 Subject: [PATCH] jscript: Remove an incorrect and unnecessary error check. --- dlls/jscript/error.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/dlls/jscript/error.c b/dlls/jscript/error.c index a8f1dcd076..20911a89c4 100644 --- a/dlls/jscript/error.c +++ b/dlls/jscript/error.c @@ -105,8 +105,6 @@ static HRESULT Error_toString(script_ctx_t *ctx, vdisp_t *vthis, WORD flags, msg = NULL; }else { ret = SysAllocString(object_errorW); - if(!V_BSTR(retv)) - hres = E_OUTOFMEMORY; } }