Chromium Code Reviews| 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 |