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
This commit is contained in:
parent
13bfbe8226
commit
d26ba633a8
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user