From: Clifford Wolf Date: Thu, 23 May 2013 10:55:59 +0000 (+0200) Subject: Fixed memory leak in ilang frontend X-Git-Tag: yosys-0.2.0~626 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=375f83c5ecde82226c33fbfb89463e92548ecf63;p=yosys.git Fixed memory leak in ilang frontend --- 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: