]> de.git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
don't call parser_cleanup with -E
authorWolfgang (Blub) Bumiller <blub@speed.at>
Sun, 18 Nov 2012 13:27:47 +0000 (14:27 +0100)
committerWolfgang (Blub) Bumiller <blub@speed.at>
Sun, 18 Nov 2012 13:27:47 +0000 (14:27 +0100)
main.c

diff --git a/main.c b/main.c
index 3f00888532878df211f5928f28ed86359ee3c765..6a77d63a83c01fd70b7de518261ee6cc89b3cfe7 100644 (file)
--- a/main.c
+++ b/main.c
@@ -610,7 +610,8 @@ cleanup:
     con_close();
     vec_free(items);
 
-    parser_cleanup();
+    if (!opts_pp_only)
+        parser_cleanup();
     if (opts_output_free)
         mem_d((char*)opts_output);