Reviewers: Vitaly Repeshko,

Message:
PTAL.

The actual change is minimal: I simply put a "delete" operator, guarded by a
NULL check, into the d'tors of Zone and Isolate. To make it work, I additionally had to move the class definitions of Segment and ExternalReferenceTable around
to make their d'tors visible to where the "delete" operator is used.

Description:
Fix memory leaks in ~Zone and ~Isolate

TEST=chromium valgrind bots


Please review this at http://codereview.chromium.org/7660016/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M src/isolate.cc
  M src/serialize.h
  M src/serialize.cc
  M src/zone.h
  M src/zone.cc


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to