Browse Source

MT#55283 set up memory arena in test

Change-Id: I5ad7014ed15093e82878e76946dd99cf25157508
rfuchs/test
Richard Fuchs 1 year ago
parent
commit
ddd2c228af
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      t/test-transcode.c

+ 2
- 0
t/test-transcode.c View File

@ -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");
}


Loading…
Cancel
Save