]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
PR32716, objdump -i memory leak
authorAlan Modra <amodra@gmail.com>
Tue, 18 Feb 2025 21:28:54 +0000 (07:58 +1030)
committerAlan Modra <amodra@gmail.com>
Tue, 18 Feb 2025 21:31:13 +0000 (08:01 +1030)
PR binutils/32716
* bucomm.c (display_info): Free arg.info.

binutils/bucomm.c

index ccf5409915487ebcc10e34fb4c477e55bb9fbf83..d4554737db18e530b5d027bc81c7a7a71bc6f14d 100644 (file)
@@ -435,6 +435,7 @@ display_info (void)
   if (!arg.error)
     display_target_tables (&arg);
 
+  free (arg.info);
   return arg.error;
 }
 \f