Index: src/sksl/SkSLParser.cpp |
diff --git a/src/sksl/SkSLParser.cpp b/src/sksl/SkSLParser.cpp |
index 3526c6ee66706cf9e4d57502b26b9fc4b5120eb2..480a59ebc8f763dab3bdcf24215d7c8c81aa135f 100644 |
--- a/src/sksl/SkSLParser.cpp |
+++ b/src/sksl/SkSLParser.cpp |
@@ -70,6 +70,7 @@ Parser::Parser(std::string text, SymbolTable& types, ErrorReporter& errors) |
Parser::~Parser() { |
sksl_delete_buffer(fBuffer, fScanner); |
+ sksllex_destroy(fScanner); |
} |
/* (precision | directive | declaration)* END_OF_FILE */ |