* [RFA] ar.c (write_archive): Plug memory leak.
@ 2011-03-08 20:53 Michael Snyder
2011-03-25 17:19 ` Nick Clifton
0 siblings, 1 reply; 2+ messages in thread
From: Michael Snyder @ 2011-03-08 20:53 UTC (permalink / raw)
To: binutils
[-- Attachment #1: Type: text/plain, Size: 5 bytes --]
OK?
[-- Attachment #2: ar6.txt --]
[-- Type: text/plain, Size: 571 bytes --]
2011-03-08 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
* ar.c (write_archive): Plug memory leak.
Index: ar.c
===================================================================
RCS file: /cvs/src/src/binutils/ar.c,v
retrieving revision 1.72
diff -u -p -r1.72 ar.c
--- ar.c 8 Dec 2010 05:05:30 -0000 1.72
+++ ar.c 8 Mar 2011 20:43:54 -0000
@@ -1068,6 +1072,7 @@ write_archive (bfd *iarch)
if (smart_rename (new_name, old_name, 0) != 0)
xexit (1);
+ free (old_name);
}
/* Return a pointer to the pointer to the entry which should be rplacd'd
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [RFA] ar.c (write_archive): Plug memory leak.
2011-03-08 20:53 [RFA] ar.c (write_archive): Plug memory leak Michael Snyder
@ 2011-03-25 17:19 ` Nick Clifton
0 siblings, 0 replies; 2+ messages in thread
From: Nick Clifton @ 2011-03-25 17:19 UTC (permalink / raw)
To: Michael Snyder; +Cc: binutils
Hi Michael,
> 2011-03-08 Michael Snyder<msnyder@msnyder-server.eng.vmware.com>
>
> * ar.c (write_archive): Plug memory leak.
Approved and applied.
Cheers
Nick
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-03-25 17:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-08 20:53 [RFA] ar.c (write_archive): Plug memory leak Michael Snyder
2011-03-25 17:19 ` 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).