Commit 018e3979 authored by yangguo@chromium.org's avatar yangguo@chromium.org

Fix leak in d8.

R=bmeurer@chromium.org
TBR=bmeurer@chromium.org

Review URL: https://codereview.chromium.org/652403003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24763 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent d66d302b
......@@ -219,6 +219,7 @@ ScriptCompiler::CachedData* CompileForCachedData(
}
temp_isolate->Dispose();
delete[] source_buffer;
delete[] name_buffer;
return result;
}
......
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