Reviewers: Sven Panne,

Description:
release callback table memory in ~Isolate

[email protected]
BUG=

Please review this at https://codereview.chromium.org/16304008/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M src/isolate.cc


Index: src/isolate.cc
diff --git a/src/isolate.cc b/src/isolate.cc
index 7cce14aa2356247669d8ad43ef545cbe812b8563..6c797b252280a75680aa1f1c0f23cf58557d9f7e 100644
--- a/src/isolate.cc
+++ b/src/isolate.cc
@@ -2007,6 +2007,9 @@ Isolate::~Isolate() {
   delete external_reference_table_;
   external_reference_table_ = NULL;

+  delete callback_table_;
+  callback_table_ = NULL;
+
 #ifdef ENABLE_DEBUGGER_SUPPORT
   delete debugger_;
   debugger_ = NULL;


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to