* 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:
Tom Tromey
2008-09-13 23:37:05 +00:00
parent 339c13b662
commit 6c761d9c9c
7 changed files with 20 additions and 14 deletions

View File

@@ -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;
}