* mi/mi-cmd-var.c (mi_cmd_var_set_format): Memory leak.
No need to make copy.
2007-08-13 Michael Snyder <msnyder@access-company.com>
+ * mi/mi-cmd-var.c (mi_cmd_var_set_format): Memory leak.
+ No need to make copy.
+
* source.c (find_source_lines): Require symtab 's'.
2007-08-11 Michael Snyder <msnyder@access-company.com>
if (var == NULL)
error (_("mi_cmd_var_set_format: Variable object not found"));
- formspec = xstrdup (argv[1]);
+ formspec = argv[1];
if (formspec == NULL)
error (_("mi_cmd_var_set_format: Must specify the format as: \"natural\", \"binary\", \"decimal\", \"hexadecimal\", or \"octal\""));