[PATCH] mem: free the allocated memory
zhangxianting
zhangxianting@uniontech.com
Wed Jun 19 07:18:01 GMT 2024
---
gas/config/tc-bfin.c | 2 ++
1 file changed, 2 insertions(+)
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
--
2.20.1
More information about the Binutils
mailing list