Reviewers: marja,
Description:
Fix memory leak in Parser after r22314.
[email protected]
Please review this at https://codereview.chromium.org/383713002/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+2, -0 lines):
M src/parser.h
Index: src/parser.h
diff --git a/src/parser.h b/src/parser.h
index
1537e5d69dfa132e625ffdb070d40f81cd79560e..d0b67b7a79332c31ea267042ed2c6779c567b52c
100644
--- a/src/parser.h
+++ b/src/parser.h
@@ -561,6 +561,8 @@ class Parser : public ParserBase<ParserTraits> {
~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.