diff options
Diffstat (limited to 'tests/handover/handover_test.c')
-rw-r--r-- | tests/handover/handover_test.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/handover/handover_test.c b/tests/handover/handover_test.c index e1f4d86d..d1dc34ad 100644 --- a/tests/handover/handover_test.c +++ b/tests/handover/handover_test.c @@ -58,7 +58,6 @@ int main(int argc, char **argv) { struct gsm_bts_role_bts *btsb; void *tall_bts_ctx; - void *tall_msgb_ctx; struct e1inp_line *line; struct gsm_lchan *lchan; struct osmo_phsap_prim nl1sap; @@ -67,8 +66,7 @@ int main(int argc, char **argv) int i; tall_bts_ctx = talloc_named_const(NULL, 1, "OsmoBTS context"); - tall_msgb_ctx = talloc_named_const(tall_bts_ctx, 1, "msgb"); - msgb_set_talloc_ctx(tall_msgb_ctx); + msgb_talloc_ctx_init(tall_bts_ctx, 0); bts_log_init(NULL); osmo_stderr_target->categories[DHO].loglevel = LOGL_DEBUG; |