projects
/
deliverable
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: cli: Acquire reference on bt_value_null while parsing args
[deliverable/babeltrace.git]
/
cli
/
babeltrace-cfg-cli-args.c
diff --git
a/cli/babeltrace-cfg-cli-args.c
b/cli/babeltrace-cfg-cli-args.c
index f501ebcdcf26db8811e00a35c3b5bf2e8d3aa138..920d2a3f5041f981de78a5646fb55566ddd7dd72 100644
(file)
--- a/
cli/babeltrace-cfg-cli-args.c
+++ b/
cli/babeltrace-cfg-cli-args.c
@@
-1993,7
+1993,10
@@
struct bt_config *bt_config_query_from_args(int argc, const char *argv[],
int ret;
struct bt_config *cfg = NULL;
const char *leftover;
- bt_value *params = bt_value_null;
+ bt_value *params;
+
+ params = bt_value_null;
+ bt_value_get_ref(bt_value_null);
*retcode = 0;
cfg = bt_config_query_create(initial_plugin_paths);
This page took
0.023665 seconds
and
5
git commands to generate.