Revision: 24831
Author:   [email protected]
Date:     Thu Oct 23 09:32:18 2014 UTC
Log:      Fix memory leak in RootIndexMap.

[email protected]

Review URL: https://codereview.chromium.org/671153002
https://code.google.com/p/v8/source/detail?r=24831

Modified:
 /branches/bleeding_edge/src/serialize.h

=======================================
--- /branches/bleeding_edge/src/serialize.h     Thu Oct 23 09:01:09 2014 UTC
+++ /branches/bleeding_edge/src/serialize.h     Thu Oct 23 09:32:18 2014 UTC
@@ -168,6 +168,8 @@
 class RootIndexMap : public AddressMapBase {
  public:
   explicit RootIndexMap(Isolate* isolate);
+
+  ~RootIndexMap() { delete map_; }

   static const int kInvalidRootIndex = -1;
   int Lookup(HeapObject* obj) {

--
--
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/d/optout.

Reply via email to