MT#55283 fix websocket shutdown mem leak

Release object reference when key is removed. Only relevant at shutdown.

Change-Id: Idc18890bb34d7e584dc5b4816553c759c3c663e2
(cherry picked from commit 7b9fcae055)
(cherry picked from commit 070f50b68f)
mr12.5.1
Richard Fuchs 9 months ago
parent 017f040936
commit 5cafeb8151

@ -28,7 +28,7 @@ struct janus_session { // "login" session
janus_handles_set handles; // handle ID -> 0x1. handle ID owned by janus_handles
};
TYPED_GHASHTABLE(janus_sessions_ht, uint64_t, struct janus_session, int64_hash, int64_eq, NULL, NULL)
TYPED_GHASHTABLE(janus_sessions_ht, uint64_t, struct janus_session, int64_hash, int64_eq, NULL, __obj_put)
struct janus_handle { // corresponds to a conference participant
@ -1541,7 +1541,6 @@ static const char *janus_message(struct websocket_message *wm, JsonReader *reade
}
return err;
}

Loading…
Cancel
Save