This is the mail archive of the binutils@sourceware.cygnus.com 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]

Re: objdump leaks?


Hi Alan

: > display_target_list() and display_info_table() both appear to leak bfd
: > structures because their calls to bfd_openw() are not matched by bfd_close()
: > calls.
: 
: Does this fix your problem?
: 
: bfd/ChangeLog
: 	* objdump.c (display_target_list): Close the bfd.
: 	(display_info_table): Likewise.

This fix looks good to me.  Assuming that Alex can confirm that it
solves the porblme for him, please consider it approved and check it
in.

Cheers
	Nick

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