Revision: 7579
Author:   [email protected]
Date:     Mon Apr 11 22:56:07 2011
Log:      Merge r7578 "Fix retained object info leak." to trunk
Review URL: http://codereview.chromium.org/6813104
http://code.google.com/p/v8/source/detail?r=7579

Modified:
 /trunk/src/global-handles.h
 /trunk/src/version.cc

=======================================
--- /trunk/src/global-handles.h Mon Apr 11 05:33:05 2011
+++ /trunk/src/global-handles.h Mon Apr 11 22:56:07 2011
@@ -28,6 +28,8 @@
 #ifndef V8_GLOBAL_HANDLES_H_
 #define V8_GLOBAL_HANDLES_H_

+#include "../include/v8-profiler.h"
+
 #include "list-inl.h"

 namespace v8 {
@@ -57,6 +59,7 @@
   }

   void Dispose() {
+    if (info_ != NULL) info_->Dispose();
     free(this);
   }

=======================================
--- /trunk/src/version.cc       Mon Apr 11 05:33:05 2011
+++ /trunk/src/version.cc       Mon Apr 11 22:56:07 2011
@@ -35,7 +35,7 @@
 #define MAJOR_VERSION     3
 #define MINOR_VERSION     2
 #define BUILD_NUMBER      9
-#define PATCH_LEVEL       0
+#define PATCH_LEVEL       1
 // Use 1 for candidates and 0 otherwise.
 // (Boolean macro values are not supported by all preprocessors.)
 #define IS_CANDIDATE_VERSION 0

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to