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] |
Hi Guys, After running cppcheck: http://sourceforge.net/apps/mediawiki/cppcheck/index.php?title=Main_Page over the binutils sources I found a few more resource leaks. So I am checking in the attached patch to fix them. Cheers Nick bfd/ChangeLog 2013-10-14 Nick Clifton <nickc@redhat.com> * gen-aout.c (main): Fix formatting. Close file. ld/ChangeLog 2013-10-14 Nick Clifton <nickc@redhat.com> * emultempl/aix.em (_read_file): Close file at end of function. gas/testsuite/ChangeLog 2013-10-14 Nick Clifton <nickc@redhat.com> * gas/all/itbl-test.c (main): Close fas. gas/ChangeLog 2013-10-14 Nick Clifton <nickc@redhat.com> * read.c (add_include_dir): Use xrealloc. * config/tc-score.c (do_macro_bcmp): Initialise inst_main. * config/tc-tic6x.c (tic6x_parse_operand): Initialise second_reg. binutils/ChangeLog 2013-10-14 Nick Clifton <nickc@redhat.com> * readelf.c (decode_arm_unwind): Initialise addr structure. (process_symbol_table): Free lengths. * srcconv.c (wr_sc): Free info. bfd/doc/ChangeLog 2013-10-14 Nick Clifton <nickc@redhat.com> * chew.c (perform): Free next.
Attachment:
cppcheck.patch.bz2
Description: BZip2 compressed data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |