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-Tag: v2.0.0-pre2~51 X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=commitdiff_plain;h=ea06dc1450ce88c4dd58f3a307098d8bb5eec44d 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);