From 375f83c5ecde82226c33fbfb89463e92548ecf63 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Thu, 23 May 2013 12:55:59 +0200 Subject: [PATCH] Fixed memory leak in ilang frontend --- frontends/ilang/parser.y | 1 + 1 file changed, 1 insertion(+) diff --git a/frontends/ilang/parser.y b/frontends/ilang/parser.y index 61bac830f..3d474d005 100644 --- a/frontends/ilang/parser.y +++ b/frontends/ilang/parser.y @@ -107,6 +107,7 @@ attr_stmt: TOK_ATTRIBUTE TOK_ID constant TOK_EOL { attrbuf[$2] = *$3; delete $3; + free($2); }; wire_stmt: -- 2.30.2