TT#136952 test-transcode: hold reference to mock call

Change-Id: Id930b1bf260c712872cf7a9498ea50818f51fcb9
mika/coverity
Richard Fuchs 4 years ago
parent 4cbeb15c07
commit 4f705362e9

@ -79,6 +79,7 @@ static void __start(const char *file, int line) {
ssrc_A = 1234; ssrc_A = 1234;
ssrc_B = 2345; ssrc_B = 2345;
ZERO(call); ZERO(call);
obj_hold(&call);
call.tags = g_hash_table_new(g_str_hash, g_str_equal); call.tags = g_hash_table_new(g_str_hash, g_str_equal);
str_init(&call.callid, "test-call"); str_init(&call.callid, "test-call");
bencode_buffer_init(&call.buffer); bencode_buffer_init(&call.buffer);

Loading…
Cancel
Save