From ddd2c228af2bf8a850cf2231a4255a0ffd300b84 Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Mon, 23 Sep 2024 14:11:31 -0400 Subject: [PATCH] MT#55283 set up memory arena in test Change-Id: I5ad7014ed15093e82878e76946dd99cf25157508 --- t/test-transcode.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/t/test-transcode.c b/t/test-transcode.c index 4d7e82712..1385b33f2 100644 --- a/t/test-transcode.c +++ b/t/test-transcode.c @@ -91,6 +91,7 @@ static void __start(const char *file, int line) { call.tags = tags_ht_new(); call.callid = STR("test-call"); bencode_buffer_init(&call.buffer); + call_memory_arena_set(&call); ml_A = __monologue_create(&call); ml_B = __monologue_create(&call); media_A = call_media_new(&call); // originator @@ -384,6 +385,7 @@ static void end(void) { if (ml_B) __monologue_free(ml_B); __cleanup(); + call_memory_arena_release(); printf("\n"); }