Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1290)

Unified Diff: src/zone.h

Issue 7660016: Fix memory leaks in ~Zone and ~Isolate (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/zone.h
diff --git a/src/zone.h b/src/zone.h
index abb53ad46d3b236096b13155076d3b53894d1f31..96caec0dbe306dcc836f37092596252c50aa1a4e 100644
--- a/src/zone.h
+++ b/src/zone.h
@@ -58,6 +58,8 @@ class Segment;
class Zone {
public:
+ ~Zone();
Vitaly Repeshko 2011/08/16 17:52:32 Given that the constructor is private it makes sen
Jakob Kummerow 2011/08/17 08:47:30 Done.
+
// Allocate 'size' bytes of memory in the Zone; expands the Zone by
// allocating new segments of memory on demand using malloc().
inline void* New(int size);

Powered by Google App Engine
This is Rietveld 408576698