From: Jérémie Galarneau Date: Thu, 6 Jul 2017 17:09:22 +0000 (-0400) Subject: Fix: set intersections hashtable to NULL after destruction X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=commitdiff_plain;h=a530254898eab00cea4e904e7315497273dea9cc Fix: set intersections hashtable to NULL after destruction Signed-off-by: Jérémie Galarneau --- diff --git a/cli/babeltrace.c b/cli/babeltrace.c index 8b3d0c0f..2c978215 100644 --- a/cli/babeltrace.c +++ b/cli/babeltrace.c @@ -1771,7 +1771,7 @@ void cmd_run_ctx_destroy(struct cmd_run_ctx *ctx) if (ctx->intersections) { g_hash_table_destroy(ctx->intersections); - ctx->components = NULL; + ctx->intersections = NULL; } BT_PUT(ctx->graph);