This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: objdump leaks?
- To: alan at linuxcare dot com dot au, alexr at spies dot com
- Subject: Re: objdump leaks?
- From: Nick Clifton <nickc at cygnus dot com>
- Date: Wed, 24 May 2000 11:22:12 -0700
- CC: binutils at sourceware dot cygnus dot com
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