From a530254898eab00cea4e904e7315497273dea9cc 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 8b3d0c0fc..2c978215c 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