diff options
Diffstat (limited to 'gdb/osdata.c')
-rw-r--r-- | gdb/osdata.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/osdata.c b/gdb/osdata.c index 887b4e3..fd00b4e 100644 --- a/gdb/osdata.c +++ b/gdb/osdata.c @@ -67,7 +67,7 @@ osdata_start_osdata (struct gdb_xml_parser *parser, gdb_xml_error (parser, _("Seen more than on osdata element")); type = xml_find_attribute (attributes, "type")->value; - osdata = XZALLOC (struct osdata); + osdata = XCNEW (struct osdata); osdata->type = xstrdup (type); data->osdata = osdata; } |