Browse Source

MT#55283 fix auto completion gone wrong

Change-Id: I32e6b171b990b879828943c1c7e5d34854402ade
pull/1819/head
Richard Fuchs 2 years ago
parent
commit
3bd606eda1
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      daemon/janus.c

+ 5
- 5
daemon/janus.c View File

@ -68,10 +68,10 @@ static void __janus_session_free(void *p) {
struct janus_session *s = p; struct janus_session *s = p;
if (t_hash_table_size(s->websockets) != 0) if (t_hash_table_size(s->websockets) != 0)
ilog(LOG_WARN, "Janus session is leaking %i WS references", t_hash_table_size(s->websockets)); 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) if (t_hash_table_size(s->handles) != 0)
ilog(LOG_WARN, "Janus session is leaking %i handle references", t_hash_table_size(s->handles)); 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); mutex_destroy(&s->lock);
} }
@ -311,9 +311,9 @@ static const char *janus_videoroom_destroy(struct janus_session *session,
} }
g_free(room->call_id.s); 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); g_slice_free1(sizeof(*room), room);
//XXX notify? //XXX notify?


Loading…
Cancel
Save