From 97faf54fa14020962e969941677b3c8bb25e4108 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Wed, 25 Jan 2017 20:19:49 -0500 Subject: [PATCH] Fix: bt_config_init_from_args has no ownership of cfg MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémie Galarneau --- converter/babeltrace-cfg.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/converter/babeltrace-cfg.c b/converter/babeltrace-cfg.c index 8b3eebcf..5811f444 100644 --- a/converter/babeltrace-cfg.c +++ b/converter/babeltrace-cfg.c @@ -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: -- 2.34.1