Hi John,
bfd has several memory leaks. I'm fixing the ones in dwarf2.c, but a simple grep
for 'bfd_realloc' shows several obvious leaks on failure:
./bfd/bfdio.c:bim->buffer = bfd_realloc (bim->buffer, newsize);
[etc]
The least intrusive way to resolve most of these would be to provide a
n
bfd has several memory leaks. I'm fixing the ones in dwarf2.c, but a simple grep
for 'bfd_realloc' shows several obvious leaks on failure:
./bfd/bfdio.c:bim->buffer = bfd_realloc (bim->buffer, newsize);
./bfd/bfdio.c:bim->buffer = bfd_realloc (bim->buffer, newsize);
./bfd/bfdwi