This is the mail archive of the
binutils-cvs@sources.redhat.com
mailing list for the binutils project.
src/bfd ChangeLog dwarf2.c elf-bfd.h elf.c
- From: nickc at sourceware dot org
- To: binutils-cvs at sources dot redhat dot com
- Date: 5 May 2005 14:25:25 -0000
- Subject: src/bfd ChangeLog dwarf2.c elf-bfd.h elf.c
CVSROOT: /cvs/src
Module name: src
Changes by: nickc@sourceware.org 2005-05-05 14:25:24
Modified files:
bfd : ChangeLog dwarf2.c elf-bfd.h elf.c
Log message:
* dwarf2.c (read_abbrevs): If bfd_realloc fails, free currently allocated memory
before returning.
(decode_line_info): Likewise.
(_bfd_dwarf2_cleanup_debug_info): New function: Frees memory allocated by
functions in this file.
* elf-bfd.h (_bfd_dwarf2_cleanup_debug_info): Prototype.
* elf.c (bfd_elf_close_and_cleanup): Call _bfd_dwarf2_cleanup_debug_info.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&r1=1.3075&r2=1.3076
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/bfd/dwarf2.c.diff?cvsroot=src&r1=1.67&r2=1.68
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/bfd/elf-bfd.h.diff?cvsroot=src&r1=1.182&r2=1.183
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/bfd/elf.c.diff?cvsroot=src&r1=1.287&r2=1.288