diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2018-03-05 05:31:14 +0100 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2018-03-28 19:24:34 +0200 |
commit | e34161832d936959640d5e5735dfa1ca7bccae13 (patch) | |
tree | ec2853807f0e1ae88607eea6e68e3edd0e51ad70 /src/utils | |
parent | 68c76e9036538d51232c61ce8c5c28e4035456ac (diff) |
ctx cleanup: use non-NULL talloc ctx for osmo_init_logging2()
Fix various sanitizer complaints about memory leaks using a sanitizer build
with gcc (Debian 7.3.0-12) 7.3.0.
Also fix deprecation warnings on osmo_init_logging().
Depends: I216837780e9405fdaec8059c63d10699c695b360 (libosmocore)
Change-Id: I970c6f8a0e36a8b63e42349dbc92baff649e5cef
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/bs11_config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/bs11_config.c b/src/utils/bs11_config.c index e7c833671..8d4de0152 100644 --- a/src/utils/bs11_config.c +++ b/src/utils/bs11_config.c @@ -911,7 +911,7 @@ int main(int argc, char **argv) tall_fle_ctx = talloc_named_const(tall_bs11cfg_ctx, 0, "bs11_file_list_entry"); msgb_talloc_ctx_init(tall_bs11cfg_ctx, 0); - osmo_init_logging(&log_info); + osmo_init_logging2(tall_bs11cfg_ctx, &log_info); handle_options(argc, argv); bts_model_bs11_init(); |