mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-05 15:15:42 +00:00
2011-03-08 Michael Snyder <msnyder@vmware.com>
* wrstabs.c (stab_start_struct_type): Close memory leak.
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
2011-03-14 Michael Snyder <msnyder@vmware.com>
|
2011-03-14 Michael Snyder <msnyder@vmware.com>
|
||||||
|
|
||||||
|
* wrstabs.c (stab_start_struct_type): Close memory leak.
|
||||||
|
|
||||||
* readelf.c (process_version_sections): Free symbols.
|
* readelf.c (process_version_sections): Free symbols.
|
||||||
|
|
||||||
* nm.c (display_rel_file): Free symsizes.
|
* nm.c (display_rel_file): Free symsizes.
|
||||||
|
|||||||
@@ -1312,9 +1312,7 @@ stab_start_struct_type (void *p, const char *tag, unsigned int id,
|
|||||||
struct stab_write_handle *info = (struct stab_write_handle *) p;
|
struct stab_write_handle *info = (struct stab_write_handle *) p;
|
||||||
long tindex;
|
long tindex;
|
||||||
bfd_boolean definition;
|
bfd_boolean definition;
|
||||||
char *buf;
|
char buf[40];
|
||||||
|
|
||||||
buf = (char *) xmalloc (40);
|
|
||||||
|
|
||||||
if (id == 0)
|
if (id == 0)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user