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 /tests/channel | |
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 'tests/channel')
-rw-r--r-- | tests/channel/channel_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/channel/channel_test.c b/tests/channel/channel_test.c index 78db1d4e3..e8f6cd921 100644 --- a/tests/channel/channel_test.c +++ b/tests/channel/channel_test.c @@ -98,7 +98,7 @@ static const struct log_info log_info = { int main(int argc, char **argv) { - osmo_init_logging(&log_info); + osmo_init_logging2(NULL, &log_info); test_dyn_ts_subslots(); test_bts_debug_print(); |