summaryrefslogtreecommitdiffstats
path: root/tests/msgb
diff options
context:
space:
mode:
Diffstat (limited to 'tests/msgb')
-rw-r--r--tests/msgb/msgb_test.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/msgb/msgb_test.c b/tests/msgb/msgb_test.c
index 05335467..ffaa1557 100644
--- a/tests/msgb/msgb_test.c
+++ b/tests/msgb/msgb_test.c
@@ -385,7 +385,9 @@ static struct log_info info = {};
int main(int argc, char **argv)
{
- osmo_init_logging(&info);
+ void *ctx = talloc_named_const(NULL, 0, "msgb_test");
+ osmo_init_logging2(ctx, &info);
+ msgb_talloc_ctx_init(ctx, 0);
test_msgb_api();
test_msgb_api_errors();