From 3bd606eda1d2030d713b50948135c33cb6ee2873 Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Wed, 17 Apr 2024 08:33:53 -0400 Subject: [PATCH] MT#55283 fix auto completion gone wrong Change-Id: I32e6b171b990b879828943c1c7e5d34854402ade --- daemon/janus.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/daemon/janus.c b/daemon/janus.c index 49853ee24..db163262d 100644 --- a/daemon/janus.c +++ b/daemon/janus.c @@ -68,10 +68,10 @@ static void __janus_session_free(void *p) { struct janus_session *s = p; if (t_hash_table_size(s->websockets) != 0) ilog(LOG_WARN, "Janus session is leaking %i WS references", t_hash_table_size(s->websockets)); - t_hash_table_size(s->websockets); + t_hash_table_destroy(s->websockets); if (t_hash_table_size(s->handles) != 0) ilog(LOG_WARN, "Janus session is leaking %i handle references", t_hash_table_size(s->handles)); - t_hash_table_size(s->handles); + t_hash_table_destroy(s->handles); mutex_destroy(&s->lock); } @@ -311,9 +311,9 @@ static const char *janus_videoroom_destroy(struct janus_session *session, } g_free(room->call_id.s); - t_hash_table_size(room->publishers); - t_hash_table_size(room->subscribers); - t_hash_table_size(room->feeds); + t_hash_table_destroy(room->publishers); + t_hash_table_destroy(room->subscribers); + t_hash_table_destroy(room->feeds); g_slice_free1(sizeof(*room), room); //XXX notify?