2007-08-08 Michael Snyder <msnyder@access-company.com>
* top.c (command_line_input): Memory leak.
This commit is contained in:
parent
ea5bf0a1f9
commit
91d2803c32
2 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
|||
2007-08-08 Michael Snyder <msnyder@access-company.com>
|
||||
|
||||
* top.c (command_line_input): Memory leak.
|
||||
|
||||
* solib-svr4.c (open_symbol_file_object): Memory leak.
|
||||
(svr4_current_sos): Ditto.
|
||||
(enable_break): Ditto.
|
||||
|
|
|
@ -1093,8 +1093,8 @@ command_line_input (char *prompt_arg, int repeat, char *annotation_suffix)
|
|||
}
|
||||
strcpy (linebuffer, history_value);
|
||||
p = linebuffer + strlen (linebuffer);
|
||||
xfree (history_value);
|
||||
}
|
||||
xfree (history_value);
|
||||
}
|
||||
|
||||
/* If we just got an empty line, and that is supposed
|
||||
|
|
Loading…
Reference in a new issue