public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [RFA] objdump.c (dump_reloc_set): Free malloced memory.
@ 2011-03-08 22:53 Michael Snyder
  2011-03-25 17:50 ` Nick Clifton
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Snyder @ 2011-03-08 22:53 UTC (permalink / raw)
  To: binutils

[-- Attachment #1: Type: text/plain, Size: 5 bytes --]

OK?


[-- Attachment #2: objdump.txt --]
[-- Type: text/plain, Size: 540 bytes --]

2011-03-08  Michael Snyder  <msnyder@vmware.com>

	* objdump.c (dump_reloc_set): Free malloced memory.

Index: objdump.c
===================================================================
RCS file: /cvs/src/src/binutils/objdump.c,v
retrieving revision 1.184
diff -u -p -r1.184 objdump.c
--- objdump.c	3 Mar 2011 09:38:36 -0000	1.184
+++ objdump.c	8 Mar 2011 22:49:15 -0000
@@ -2907,6 +2907,8 @@ dump_reloc_set (bfd *abfd, asection *sec
 
       printf ("\n");
     }
+  free (last_filename);
+  free (last_functionname);
 }
 
 static void

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [RFA] objdump.c (dump_reloc_set): Free malloced memory.
  2011-03-08 22:53 [RFA] objdump.c (dump_reloc_set): Free malloced memory Michael Snyder
@ 2011-03-25 17:50 ` Nick Clifton
  0 siblings, 0 replies; 2+ messages in thread
From: Nick Clifton @ 2011-03-25 17:50 UTC (permalink / raw)
  To: Michael Snyder; +Cc: binutils

Hi Michael,

> 2011-03-08  Michael Snyder<msnyder@vmware.com>
>
> 	* objdump.c (dump_reloc_set): Free malloced memory.

Approved and applied.

Cheers
   Nick

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-03-25 17:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-08 22:53 [RFA] objdump.c (dump_reloc_set): Free malloced memory Michael Snyder
2011-03-25 17:50 ` Nick Clifton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).