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:
Marshall Greenblatt 2012-02-15 16:19:59 +00:00
parent ce0eb1c92b
commit def9fdb540
1 changed files with 3 additions and 0 deletions

View File

@ -1148,6 +1148,9 @@ bool CefV8ValueImpl::ExecuteFunctionWithContext(
retval = new CefV8ValueImpl(func_rv);
}
if (argv)
delete [] argv;
return true;
}