forked from Imagelibrary/binutils-gdb
* varobj.c (varobj_set_display_format): Use xfree.
* tracepoint.c (stringify_collection_list): Use xfree. * remote-fileio.c (remote_fileio_reset): Use xfree. * mipsread.c (read_alphacoff_dynamic_symtab): Use xfree. * dfp.c (decimal_from_floating): Use xfree, xstrprintf. Don't use asprintf. * cp-support.c (mangled_name_to_comp): Use xfree.
This commit is contained in:
@@ -167,7 +167,7 @@ mangled_name_to_comp (const char *mangled_name, int options,
|
||||
|
||||
if (ret == NULL)
|
||||
{
|
||||
free (demangled_name);
|
||||
xfree (demangled_name);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user