23 Oct
2012
23 Oct
'12
11:03 p.m.
Hi Community, We had seen core dumps that pointed to the following code : ./git/freeswitch/src/switch_core_rwlock.c ... SWITCH_DECLARE(void) switch_core_session_rwunlock(switch_core_session_t *session) { #endif switch_thread_rwlock_unlock(session->rwlock); } ... We changed it to : ... SWITCH_DECLARE(void) switch_core_session_rwunlock(switch_core_session_t *session) { #endif if(session) { switch_thread_rwlock_unlock(session->rwlock); } } ... Anyone saw a similar problem? Do you want us to add the code to the head? Thanks, Yiftach.