diff options
Diffstat (limited to 'tests/agch/agch_test.c')
-rw-r--r-- | tests/agch/agch_test.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/agch/agch_test.c b/tests/agch/agch_test.c index 4175bdd6..e275c644 100644 --- a/tests/agch/agch_test.c +++ b/tests/agch/agch_test.c @@ -224,11 +224,8 @@ static void test_agch_queue_length_computation(void) int main(int argc, char **argv) { - void *tall_msgb_ctx; - 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); |