This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]