mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-26 08:55:30 +08:00
2009-05-18 Paul Pluzhnikov <ppluzhnikov@google.com>
* objc-lang.c (find_methods): Plug a small memory leak.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2009-05-18 Paul Pluzhnikov <ppluzhnikov@google.com>
|
||||||
|
|
||||||
|
* objc-lang.c (find_methods): Plug a small memory leak.
|
||||||
|
|
||||||
2009-05-18 Pedro Alves <pedro@codesourcery.com>
|
2009-05-18 Pedro Alves <pedro@codesourcery.com>
|
||||||
|
|
||||||
* solib-svr4.c: Include observer.h.
|
* solib-svr4.c: Include observer.h.
|
||||||
|
@ -1259,7 +1259,8 @@ find_methods (struct symtab *symtab, char type,
|
|||||||
}
|
}
|
||||||
if (objc_csym == NULL)
|
if (objc_csym == NULL)
|
||||||
{
|
{
|
||||||
objc_csym = xmalloc (sizeof (*objc_csym));
|
objc_csym = obstack_alloc (&objfile->objfile_obstack,
|
||||||
|
sizeof (*objc_csym));
|
||||||
*objc_csym = objfile_csym;
|
*objc_csym = objfile_csym;
|
||||||
set_objfile_data (objfile, objc_objfile_data, objc_csym);
|
set_objfile_data (objfile, objc_objfile_data, objc_csym);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user