projects
/
platform
/
upstream
/
libSkiaSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b442f68
)
fixed SkSL memory leak
author
ethannicholas
<ethannicholas@google.com>
Sat, 2 Jul 2016 02:09:27 +0000
(19:09 -0700)
committer
Commit bot
<commit-bot@chromium.org>
Sat, 2 Jul 2016 02:09:27 +0000
(19:09 -0700)
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=
2119903002
NOTREECHECKS=true
Review-Url: https://codereview.chromium.org/
2119903002
src/sksl/SkSLParser.cpp
patch
|
blob
|
history
diff --git
a/src/sksl/SkSLParser.cpp
b/src/sksl/SkSLParser.cpp
index 3526c6ee66706cf9e4d57502b26b9fc4b5120eb2..480a59ebc8f763dab3bdcf24215d7c8c81aa135f 100644
(file)
--- 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 */