Index: src/profile-generator.cc |
diff --git a/src/profile-generator.cc b/src/profile-generator.cc |
index 5315bfbde4fac5bf307d7e614db513afbb8cec9e..7054b125950863776f41a5555d8aeaf807bb5a83 100644 |
--- a/src/profile-generator.cc |
+++ b/src/profile-generator.cc |
@@ -74,6 +74,7 @@ void TokenEnumerator::TokenRemovedCallback(v8::Persistent<v8::Value> handle, |
void* parameter) { |
reinterpret_cast<TokenEnumerator*>(parameter)->TokenRemoved( |
Utils::OpenHandle(*handle).location()); |
+ handle.Dispose(); |
} |