Fix: missing goto error on null pointer
[lttng-tools.git] / src / common / config / session-config.c
index 616434ecf572955d7c1952b9ba88b3fa9c17d0e3..e5afc4abc185e1f62007f20439cea188375ab27f 100644 (file)
@@ -3495,6 +3495,7 @@ struct config_element *config_element_create(const char *name,
        if (!element->element) {
                free(element);
                element = NULL;
+               goto end;
        }
 
        if (internal_value) {
This page took 0.024472 seconds and 5 git commands to generate.