unlock before destroy (handle leak from SFSIP-88)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9669 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
e03d7f2721
commit
d8f1f01486
|
@ -1019,8 +1019,9 @@ void _su_home_deinit(su_home_t *home)
|
|||
|
||||
home->suh_blocks = NULL;
|
||||
|
||||
if (home->suh_lock)
|
||||
if (home->suh_lock) {
|
||||
_su_home_destroy_mutexes(home->suh_lock);
|
||||
UNLOCK(home);
|
||||
}
|
||||
|
||||
home->suh_lock = NULL;
|
||||
|
|
Loading…
Reference in New Issue