Revision 0351dafc plugins/janus_sip.c

View differences:

plugins/janus_sip.c
807 807
	sessions = NULL;
808 808
	g_atomic_int_set(&initialized, 0);
809 809
	g_atomic_int_set(&stopping, 0);
810

  
811
	/* Deinitialize sofia */
812
	su_deinit();
813

  
810 814
	JANUS_LOG(LOG_INFO, "%s destroyed!\n", JANUS_SIP_NAME);
811 815
}
812 816

  
......
3194 3198
	session->stack->s_root = NULL;
3195 3199
	su_home_deinit(session->stack->s_home);
3196 3200
	su_home_unref(session->stack->s_home);
3197
	su_deinit();
3198 3201
	if (session->stack) {
3199 3202
		g_free(session->stack);
3200 3203
		session->stack = NULL;

Also available in: Unified diff