commit | 78ce59137fa0bd0e6b11bfc9ea24c93e6b2a8d2a | [log] [tgz] |
---|---|---|
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | Wed Feb 08 17:07:31 2017 +0100 |
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | Wed Feb 08 17:37:55 2017 +0100 |
tree | db92794a0560d381439cb891f80e246a469e48db | |
parent | de9da39b336e2b8e05efb59ecabf666f85f39a16 [diff] |
main, tests: use msgb_talloc_ctx_init() (new) msgb_set_talloc_ctx() is deprecated since libosmocore commit f45334be29016a36594aacc07c90e262e4994525 / change-id I747fbbf977c4d2c868c8dead64cfc5fd86eb8d4c Change-Id: I8d40abec428b739460ed545c9983d1b63021bd08
diff --git a/tests/alloc/AllocTest.cpp b/tests/alloc/AllocTest.cpp index 308c802..e26c432 100644 --- a/tests/alloc/AllocTest.cpp +++ b/tests/alloc/AllocTest.cpp
@@ -848,7 +848,7 @@ if (!tall_pcu_ctx) abort(); - msgb_set_talloc_ctx(tall_pcu_ctx); + msgb_talloc_ctx_init(tall_pcu_ctx, 0); osmo_init_logging(&gprs_log_info); log_set_use_color(osmo_stderr_target, 0); log_set_print_filename(osmo_stderr_target, 0);