From ea06dc1450ce88c4dd58f3a307098d8bb5eec44d Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Thu, 6 Jul 2017 13:09:22 -0400 Subject: [PATCH] Fix: set intersections hashtable to NULL after destruction MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémie Galarneau --- cli/babeltrace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.34.1