close reader as well if syntax error

This commit is contained in:
Connor Tumbleson 2017-08-27 09:57:32 -04:00
parent d6e676c583
commit 1c33fba646
No known key found for this signature in database
GPG Key ID: C3CC0A201EC7DA75

View File

@ -83,6 +83,7 @@ public class SmaliMod {
if (parser.getNumberOfSyntaxErrors() > 0 || lexer.getNumberOfSyntaxErrors() > 0) {
is.close();
reader.close();
return false;
}