Fix: add missing goto end on error
[babeltrace.git] / plugins / lttng-utils / plugin.c
index 16323137655f1f0c42ab738cc568f2170fcf0de8..58956981c8ef6450ff8f29a3b35cc8ca3453ed3a 100644 (file)
@@ -364,6 +364,7 @@ enum bt_component_status init_from_params(
                if (!debug_info_component->arg_debug_info_field_name) {
                        ret = BT_COMPONENT_STATUS_NOMEM;
                        BT_LOGE_STR("Missing field name.");
+                       goto end;
                }
                sprintf(debug_info_component->arg_debug_info_field_name,
                                "debug_info");
This page took 0.022409 seconds and 4 git commands to generate.