Revision: 22317
Author:   [email protected]
Date:     Thu Jul 10 11:34:14 2014 UTC
Log:      Fix memory leak in Parser after r22314.

[email protected]

Review URL: https://codereview.chromium.org/383713002
http://code.google.com/p/v8/source/detail?r=22317

Modified:
 /branches/bleeding_edge/src/parser.h

=======================================
--- /branches/bleeding_edge/src/parser.h        Thu Jul 10 10:28:05 2014 UTC
+++ /branches/bleeding_edge/src/parser.h        Thu Jul 10 11:34:14 2014 UTC
@@ -561,6 +561,8 @@
   ~Parser() {
     delete reusable_preparser_;
     reusable_preparser_ = NULL;
+    delete cached_parse_data_;
+    cached_parse_data_ = NULL;
   }

// Parses the source code represented by the compilation info and sets its

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to