From: Wolfgang Bumiller Date: Thu, 20 Dec 2012 19:26:54 +0000 (+0100) Subject: fix a leak in the local-allocator X-Git-Tag: 0.2~45 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b595ec03f8b1f233303bb1bc48b49fcd71cf5515;p=xonotic%2Fgmqcc.git fix a leak in the local-allocator --- diff --git a/ir.c b/ir.c index 30cdda9..2c65ad1 100644 --- a/ir.c +++ b/ir.c @@ -2369,6 +2369,7 @@ error: cleanup: for (i = 0; i < vec_size(alloc.locals); ++i) ir_value_delete(alloc.locals[i]); + vec_free(alloc.unique); vec_free(alloc.locals); vec_free(alloc.sizes); vec_free(alloc.positions);