TT#14008 don't directly use __obj_* calls

Change-Id: I578482e8dd32c36c14e85fc5d5ef34b99a5600a8
pull/1396/head
Richard Fuchs 4 years ago
parent fc56744553
commit 2dd5d7125f

@ -3116,7 +3116,7 @@ static void __call_cleanup(struct call *c) {
recording_finish(c);
if (c->janus_session)
__obj_put((void *) c->janus_session);
obj_put_o((void *) c->janus_session);
c->janus_session = NULL;
}

@ -589,7 +589,7 @@ static void websocket_conn_cleanup(struct websocket_conn *wc) {
gpointer key;
while (g_hash_table_iter_next(&iter, &key, NULL)) {
janus_detach_websocket(key, wc);
__obj_put(key);
obj_put_o(key);
}
g_hash_table_destroy(janus_sessions);
}

Loading…
Cancel
Save