Fix: return NULL on trace chunk registry failure
[lttng-tools.git] / src / common / trace-chunk.c
index fe244ac36594ebbcec7c81f8b9b331d9540f7a59..9f0919a8896b7756121ffe18d6580e0550637f37 100644 (file)
@@ -1096,7 +1096,7 @@ end:
        return registry;
 error:
        lttng_trace_chunk_registry_destroy(registry);
-       goto end;
+       return NULL;
 }
 
 LTTNG_HIDDEN
This page took 0.023484 seconds and 4 git commands to generate.