relayd: implement file and session rotation on top of trace chunks
[lttng-tools.git] / src / common / trace-chunk.c
index 3f472b4353bc44aa8de15be627878640f96fca6c..172bd3df88e1d32247a93f06786f8c639de5225b 100644 (file)
@@ -827,7 +827,7 @@ void lttng_trace_chunk_move_to_completed(struct lttng_trace_chunk *trace_chunk)
                        LTTNG_OPTIONAL_GET(trace_chunk->timestamp_creation);
        const time_t close_timestamp =
                        LTTNG_OPTIONAL_GET(trace_chunk->timestamp_close);
-       LTTNG_OPTIONAL(struct lttng_directory_handle) archived_chunks_directory;
+       LTTNG_OPTIONAL(struct lttng_directory_handle) archived_chunks_directory = {};
 
        if (!trace_chunk->mode.is_set ||
                        trace_chunk->mode.value != TRACE_CHUNK_MODE_OWNER ||
This page took 0.023691 seconds and 4 git commands to generate.