* 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

@@ -1398,7 +1398,7 @@ remote_fileio_reset (void)
}
if (remote_fio_data.fd_map)
{
free (remote_fio_data.fd_map);
xfree (remote_fio_data.fd_map);
remote_fio_data.fd_map = NULL;
remote_fio_data.fd_map_size = 0;
}