forked from Mirrors/freeswitch
don't remove the event NULL
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8903 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
d13e1bd4cb
commit
ac467b5d09
@ -1075,6 +1075,10 @@ SWITCH_DECLARE(switch_status_t) switch_event_unbind(switch_event_node_t **node)
|
||||
|
||||
n = *node;
|
||||
|
||||
if (!n) {
|
||||
return status;
|
||||
}
|
||||
|
||||
switch_thread_rwlock_wrlock(RWLOCK);
|
||||
switch_mutex_lock(BLOCK);
|
||||
/* <LOCKED> ----------------------------------------------- */
|
||||
|
Loading…
Reference in New Issue
Block a user