]> git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
don't deallocate the parser on a compile error -_-
authorWolfgang (Blub) Bumiller <blub@speed.at>
Sat, 18 Aug 2012 14:40:20 +0000 (16:40 +0200)
committerWolfgang (Blub) Bumiller <blub@speed.at>
Sat, 18 Aug 2012 14:40:20 +0000 (16:40 +0200)
parser.c

index 1d9ae74577f9b9063f6d22c6d81da788b406f5c3..4b3ac5188bbc1c029cafe60aa363eee471fee150 100644 (file)
--- a/parser.c
+++ b/parser.c
@@ -2234,7 +2234,6 @@ bool parser_compile(const char *filename)
                 else if (!parser->errors)
                     parseerror(parser, "parse error\n");
                 lex_close(parser->lex);
-                mem_d(parser);
                 return false;
             }
         }