This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[RFA/gas] write.c (write_relocs): Free malloced relocs.
- From: Michael Snyder <msnyder at vmware dot com>
- To: "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Wed, 09 Mar 2011 12:03:24 -0800
- Subject: [RFA/gas] write.c (write_relocs): Free malloced relocs.
Review? ;-)
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