mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
2011-02-28 Michael Snyder <msnyder@vmware.com>
* breakpoint.c (catch_syscall_completer): Free malloced list.
This commit is contained in:
parent
3ef09ab522
commit
c38eea1ac5
@ -1,5 +1,7 @@
|
|||||||
2011-02-28 Michael Snyder <msnyder@vmware.com>
|
2011-02-28 Michael Snyder <msnyder@vmware.com>
|
||||||
|
|
||||||
|
* breakpoint.c (catch_syscall_completer): Free malloced list.
|
||||||
|
|
||||||
* jv-lang.c (java_primitive_type_from_name): Add missing break.
|
* jv-lang.c (java_primitive_type_from_name): Add missing break.
|
||||||
|
|
||||||
* opencl-lang.c (lval_func_check_validity): Rename inner variables.
|
* opencl-lang.c (lval_func_check_validity): Rename inner variables.
|
||||||
|
@ -11360,8 +11360,11 @@ catch_syscall_completer (struct cmd_list_element *cmd,
|
|||||||
char *text, char *word)
|
char *text, char *word)
|
||||||
{
|
{
|
||||||
const char **list = get_syscall_names ();
|
const char **list = get_syscall_names ();
|
||||||
|
char **retlist
|
||||||
|
= (list == NULL) ? NULL : complete_on_enum (list, text, word);
|
||||||
|
|
||||||
return (list == NULL) ? NULL : complete_on_enum (list, text, word);
|
xfree (list);
|
||||||
|
return retlist;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Tracepoint-specific operations. */
|
/* Tracepoint-specific operations. */
|
||||||
|
Loading…
Reference in New Issue
Block a user