You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in plugins/janus_videoroom.c, function janus_videoroom_init
/* Launch the thread that will handle incoming messages */error=NULL;
handler_thread=g_thread_try_new("videoroom handler", janus_videoroom_handler, NULL, &error);
if(error!=NULL) {
g_atomic_int_set(&initialized, 0);
JANUS_LOG(LOG_ERR, "Got error %d (%s) trying to launch the VideoRoom handler thread...\n",
error->code, error->message ? error->message : "??");
janus_config_destroy(config);
return-1;
}
JANUS_LOG(LOG_INFO, "%s initialized!\n", JANUS_VIDEOROOM_NAME);
return0;
The error pointer is initialize to NULL, and populated by g_thread_try_new, which means this object is allocated by glib, but there is no matching free,I looked up the code of glib2.48.2, this error object could be freed by g_error_free.
Hope this helps.
The text was updated successfully, but these errors were encountered:
in plugins/janus_videoroom.c, function janus_videoroom_init
The error pointer is initialize to NULL, and populated by g_thread_try_new, which means this object is allocated by glib, but there is no matching free,I looked up the code of glib2.48.2, this error object could be freed by g_error_free.
Hope this helps.
The text was updated successfully, but these errors were encountered: