diff options
Diffstat (limited to 'gdb/somsolib.c')
-rw-r--r-- | gdb/somsolib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/somsolib.c b/gdb/somsolib.c index 2d232b3..ebec205 100644 --- a/gdb/somsolib.c +++ b/gdb/somsolib.c @@ -301,7 +301,7 @@ som_solib_add (arg_string, from_tty, target) text_addr = extract_unsigned_integer (buf, 4); - new_so = (struct so_list *) malloc (sizeof (struct so_list)); + new_so = (struct so_list *) xmalloc (sizeof (struct so_list)); memset ((char *)new_so, 0, sizeof (struct so_list)); if (so_list_head == NULL) { |