static
int parse_url(const char *path, struct lttng_live_ctx *ctx)
{
- char remain[3][MAXNAMLEN] = { 0 };
+ char remain[3][MAXNAMLEN] = { { 0 } };
int ret = -1, proto, proto_offset = 0;
size_t path_len = strlen(path); /* not accounting \0 */
}
end_free:
+ g_array_free(ctx->session_ids, TRUE);
g_hash_table_destroy(ctx->session->ctf_traces);
free_session_streams(ctx->session);
g_free(ctx->session);