Commit d26ba633 authored by vitalyr@chromium.org's avatar vitalyr@chromium.org

Fix retained object info leak.

Review URL: http://codereview.chromium.org/6813101

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7578 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 13bfbe82
......@@ -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 @@ class ObjectGroup {
}
void Dispose() {
if (info_ != NULL) info_->Dispose();
free(this);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment