From: Dale Weiler Date: Wed, 29 May 2013 03:35:51 +0000 (+0000) Subject: Fix that memory leak that I spent hours trying to find months ago and didn't succeed at. X-Git-Tag: v0.3.0~151^2~43 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d45956f55e303c59fc188eb1535a3625c8ba81fa;p=xonotic%2Fgmqcc.git Fix that memory leak that I spent hours trying to find months ago and didn't succeed at. --- diff --git a/Makefile b/Makefile index fea3356..2f2b08a 100644 --- a/Makefile +++ b/Makefile @@ -129,7 +129,6 @@ SPLINTFLAGS = \ -nullstate \ -varuse \ -mustfreefresh \ - -compdestroy \ -compmempass \ -nullpass \ -onlytrans \ diff --git a/parser.c b/parser.c index 6d0c010..a9fa3f6 100644 --- a/parser.c +++ b/parser.c @@ -5814,6 +5814,7 @@ static ast_expression* parse_expression_leave(parser_t *parser, bool stopatcomma } vec_free(sy.out); vec_free(sy.ops); + vec_free(sy.argc); var->cvq = cvq; } }