- malloc(strlen(DEFAULT_DEBUG_INFO_FIELD_NAME) + 1);
- if (!debug_info_component->arg_debug_info_field_name) {
- ret = BT_SELF_COMPONENT_STATUS_NOMEM;
- BT_LOGE_STR("Missing field name.");
- goto end;
- }
- sprintf(debug_info_component->arg_debug_info_field_name,
- DEFAULT_DEBUG_INFO_FIELD_NAME);
- }
- if (ret) {
- goto end;