]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
Fix a leak: free code_linenums
authorWolfgang Bumiller <blub@speed.at>
Thu, 20 Dec 2012 19:26:14 +0000 (20:26 +0100)
committerWolfgang Bumiller <blub@speed.at>
Thu, 20 Dec 2012 19:26:14 +0000 (20:26 +0100)
code.c

diff --git a/code.c b/code.c
index 3c418b1653125786a47f44355a32ae23e4da79b5..0f8fc40ff4ead249756f18768f5f03add4f2e401 100644 (file)
--- a/code.c
+++ b/code.c
@@ -236,6 +236,7 @@ bool code_write(const char *filename, const char *lnofile) {
     }
 
     vec_free(code_statements);
+    vec_free(code_linenums);
     vec_free(code_defs);
     vec_free(code_fields);
     vec_free(code_functions);