Fix memory leak in CefV8ValueImpl::ExecuteFunctionWithContext (issue #526).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@497 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
parent
ce0eb1c92b
commit
def9fdb540
|
@ -1148,6 +1148,9 @@ bool CefV8ValueImpl::ExecuteFunctionWithContext(
|
||||||
retval = new CefV8ValueImpl(func_rv);
|
retval = new CefV8ValueImpl(func_rv);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (argv)
|
||||||
|
delete [] argv;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue