From b595ec03f8b1f233303bb1bc48b49fcd71cf5515 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Thu, 20 Dec 2012 20:26:54 +0100 Subject: [PATCH] fix a leak in the local-allocator --- ir.c | 1 + 1 file changed, 1 insertion(+) 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);