aboutsummaryrefslogtreecommitdiffstats
path: root/tests/oap/oap_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/oap/oap_test.c')
-rw-r--r--tests/oap/oap_test.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/oap/oap_test.c b/tests/oap/oap_test.c
index dea5c11d..32676ca3 100644
--- a/tests/oap/oap_test.c
+++ b/tests/oap/oap_test.c
@@ -173,7 +173,9 @@ static struct log_info info = {
int main(int argc, char **argv)
{
- osmo_init_logging(&info);
+ void *ctx = talloc_named_const(NULL, 0, "oap_test");
+ osmo_init_logging2(ctx, &info);
+ msgb_talloc_ctx_init(ctx, 0);
test_oap_messages_dec_enc();