2011-03-08 Michael Snyder <msnyder@vmware.com>
* wrstabs.c (stab_start_struct_type): Close memory leak.
This commit is contained in:
parent
824446ad10
commit
c30fe01daf
2 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,7 @@
|
|||
2011-03-14 Michael Snyder <msnyder@vmware.com>
|
||||
|
||||
* wrstabs.c (stab_start_struct_type): Close memory leak.
|
||||
|
||||
* readelf.c (process_version_sections): Free symbols.
|
||||
|
||||
* 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;
|
||||
long tindex;
|
||||
bfd_boolean definition;
|
||||
char *buf;
|
||||
|
||||
buf = (char *) xmalloc (40);
|
||||
char buf[40];
|
||||
|
||||
if (id == 0)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue