X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=src%2Fcommon%2Ftrace-chunk.c;h=9f0919a8896b7756121ffe18d6580e0550637f37;hb=4e42a5ac4102053ced991911a781be77959ddf55;hp=fe244ac36594ebbcec7c81f8b9b331d9540f7a59;hpb=512328e6bbf75d043d199515c255a34365d4e8a2;p=lttng-tools.git diff --git a/src/common/trace-chunk.c b/src/common/trace-chunk.c index fe244ac36..9f0919a88 100644 --- a/src/common/trace-chunk.c +++ b/src/common/trace-chunk.c @@ -1096,7 +1096,7 @@ end: return registry; error: lttng_trace_chunk_registry_destroy(registry); - goto end; + return NULL; } LTTNG_HIDDEN