Fix: set intersections hashtable to NULL after destruction
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 6 Jul 2017 17:09:22 +0000 (13:09 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 6 Jul 2017 17:18:12 +0000 (13:18 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
cli/babeltrace.c

index 8b3d0c0fc9bea3d8037d75aa3b4ed3326722c5fe..2c978215cd4f3b8ccefd637500298cc4963d3f9a 100644 (file)
@@ -1771,7 +1771,7 @@ void cmd_run_ctx_destroy(struct cmd_run_ctx *ctx)
 
        if (ctx->intersections) {
                g_hash_table_destroy(ctx->intersections);
 
        if (ctx->intersections) {
                g_hash_table_destroy(ctx->intersections);
-               ctx->components = NULL;
+               ctx->intersections = NULL;
        }
 
        BT_PUT(ctx->graph);
        }
 
        BT_PUT(ctx->graph);
This page took 0.025354 seconds and 4 git commands to generate.