objdump leaks?

Nick Clifton nickc@cygnus.com
Wed May 24 11:22:00 GMT 2000


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


More information about the Binutils mailing list