mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 17:40:49 +00:00
* 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:
@@ -693,7 +693,7 @@ varobj_set_display_format (struct varobj *var,
|
||||
if (varobj_value_is_changeable_p (var)
|
||||
&& var->value && !value_lazy (var->value))
|
||||
{
|
||||
free (var->print_value);
|
||||
xfree (var->print_value);
|
||||
var->print_value = value_get_print_value (var->value, var->format);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user