Index: src/serialize.h |
diff --git a/src/serialize.h b/src/serialize.h |
index 0a0ccc7e07650aa00d7ff38f4d30ac57a52c62b9..bc40b8f711b4a86efa8742f11705fc6aca6e29bf 100644 |
--- a/src/serialize.h |
+++ b/src/serialize.h |
@@ -169,6 +169,8 @@ class RootIndexMap : public AddressMapBase { |
public: |
explicit RootIndexMap(Isolate* isolate); |
+ ~RootIndexMap() { delete map_; } |
+ |
static const int kInvalidRootIndex = -1; |
int Lookup(HeapObject* obj) { |
HashMap::Entry* entry = LookupEntry(map_, obj, false); |