* varobj.c (varobj_set_display_format): Use xfree.
[deliverable/binutils-gdb.git] / gdb / varobj.c
index 35d876ff09229241944ccf291cb9882966113fa0..5b44eef0d82cce5269d40c5645f8d1cae9fe1715 100644 (file)
@@ -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);
     }
 
This page took 0.025695 seconds and 4 git commands to generate.