* [RFA/gas] write.c (write_relocs): Free malloced relocs.
@ 2011-03-09 20:03 Michael Snyder
2011-03-10 23:58 ` Michael Snyder
0 siblings, 1 reply; 2+ messages in thread
From: Michael Snyder @ 2011-03-09 20:03 UTC (permalink / raw)
To: binutils
[-- Attachment #1: Type: text/plain, Size: 14 bytes --]
Review? ;-)
[-- Attachment #2: write.txt --]
[-- Type: text/plain, Size: 477 bytes --]
2011-03-09 Michael Snyder <msnyder@vmware.com>
* write.c (write_relocs): Free malloced relocs.
Index: write.c
===================================================================
RCS file: /cvs/src/src/gas/write.c,v
retrieving revision 1.140
diff -u -p -r1.140 write.c
--- write.c 31 Jan 2011 16:43:13 -0000 1.140
+++ write.c 9 Mar 2011 20:00:30 -0000
@@ -1293,6 +1293,7 @@ write_relocs (bfd *abfd, asection *sec,
}
}
#endif
+ xfree (relocs);
}
static int
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [RFA/gas] write.c (write_relocs): Free malloced relocs.
2011-03-09 20:03 [RFA/gas] write.c (write_relocs): Free malloced relocs Michael Snyder
@ 2011-03-10 23:58 ` Michael Snyder
0 siblings, 0 replies; 2+ messages in thread
From: Michael Snyder @ 2011-03-10 23:58 UTC (permalink / raw)
To: binutils
Michael Snyder wrote:
> Review? ;-)
>
This patch is withdrawn, it causes regressions.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-03-10 23:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-09 20:03 [RFA/gas] write.c (write_relocs): Free malloced relocs Michael Snyder
2011-03-10 23:58 ` Michael Snyder
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).