* configure.host: Add arm*-*-openbsd*.
[deliverable/binutils-gdb.git] / gdb / ada-exp.y
index 936a5a7c0e113066e0713f6a6df67ec1e8001fe8..bb9e41c7c888f79213de7d5dfac25564bdf5a7c6 100644 (file)
@@ -852,7 +852,7 @@ write_object_renaming (struct block *orig_left_context,
          if (end == NULL)
            end = suffix + strlen (suffix);
          field_name.length = end - suffix;
-         field_name.ptr = (char *) malloc (end - suffix + 1);
+         field_name.ptr = xmalloc (end - suffix + 1);
          strncpy (field_name.ptr, suffix, end - suffix);
          field_name.ptr[end - suffix] = '\000';
          suffix = end;
This page took 0.022764 seconds and 4 git commands to generate.