From: zhangxianting Date: Fri, 19 Jul 2024 08:53:12 +0000 (+0200) Subject: bfin: free the allocated memory X-Git-Tag: binutils-2_43~74 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88e7d674ef6d4cac1fec706110ad048849fdc008;p=thirdparty%2Fbinutils-gdb.git bfin: free the allocated memory --- diff --git a/gas/config/tc-bfin.c b/gas/config/tc-bfin.c index cbf09037e48..001f90c045c 100644 --- a/gas/config/tc-bfin.c +++ b/gas/config/tc-bfin.c @@ -1919,6 +1919,8 @@ bfin_loop_beginend (Expr_Node *exp, int begin) Adjust label address. */ if (!begin) *symbol_X_add_number (linelabel) -= last_insn_size; + + free (label_name); } bool