* src/gdb/remote.c (end_thread): ARI fix: Use xstrdup instead of strdup.
This commit is contained in:
parent
bb4a8e7106
commit
2ae2a0b7f1
2 changed files with 5 additions and 1 deletions
|
@ -2450,7 +2450,7 @@ end_thread (struct gdb_xml_parser *parser,
|
|||
struct threads_parsing_context *data = user_data;
|
||||
|
||||
if (body_text && *body_text)
|
||||
VEC_last (thread_item_t, data->items)->extra = strdup (body_text);
|
||||
VEC_last (thread_item_t, data->items)->extra = xstrdup (body_text);
|
||||
}
|
||||
|
||||
const struct gdb_xml_attribute thread_attributes[] = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue