2011-03-08 Michael Snyder <msnyder@vmware.com>

* wrstabs.c (stab_start_struct_type): Close memory leak.
This commit is contained in:
Michael Snyder 2011-03-14 19:05:39 +00:00
parent 824446ad10
commit c30fe01daf
2 changed files with 3 additions and 3 deletions

View file

@ -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)
{