Fix: bt_config_init_from_args has no ownership of cfg
[babeltrace.git] / converter / babeltrace-cfg.c
index 8b3eebcfa262a2922982d34d969f8fb342e08095..5811f4447d06ab955853196d903717ea91224442 100644 (file)
@@ -2829,15 +2829,12 @@ int bt_config_init_from_args(struct bt_config *cfg, int argc, const char *argv[]
                        break;
                }
                case OPT_HELP:
-                       BT_PUT(cfg);
                        print_usage(stdout);
                        goto end;
                case OPT_HELP_LEGACY:
-                       BT_PUT(cfg);
                        print_legacy_usage(stdout);
                        goto end;
                case OPT_VERSION:
-                       BT_PUT(cfg);
                        print_version();
                        goto end;
                case OPT_LIST:
This page took 0.025269 seconds and 4 git commands to generate.