lib: bt_graph_create(): accept MIP version
[babeltrace.git] / src / cli / babeltrace2.c
index 1675446eaee7f6e772eec48fead761d3ad56879a..b67acd74cac7aa708292ccbde5eb0ddecef88286 100644 (file)
@@ -1745,7 +1745,7 @@ int cmd_run_ctx_init(struct cmd_run_ctx *ctx, struct bt_config *cfg)
                }
        }
 
-       ctx->graph = bt_graph_create();
+       ctx->graph = bt_graph_create(0);
        if (!ctx->graph) {
                goto error;
        }
@@ -2531,9 +2531,7 @@ void print_error_causes(void)
        }
 
 end:
-       if (folded) {
-               g_string_free(folded, TRUE);
-       }
+       BT_ASSERT(!folded);
 
        if (error) {
                bt_error_release(error);
This page took 0.024489 seconds and 4 git commands to generate.