]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
bfin: free the allocated memory
authorzhangxianting <zhangxianting@uniontech.com>
Fri, 19 Jul 2024 08:53:12 +0000 (10:53 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 19 Jul 2024 08:53:12 +0000 (10:53 +0200)
gas/config/tc-bfin.c

index cbf09037e489d7664a2dfc5fa59932cd9bb27218..001f90c045c4fc60bf7d204f8edd286831248f73 100644 (file)
@@ -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