mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-18 18:58:22 +00:00
fix typo in chan sip that causes segV
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3931 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -8786,7 +8786,7 @@ static void delete_users(void)
|
|||||||
for (user=userl.users;user;) {
|
for (user=userl.users;user;) {
|
||||||
userlast = user;
|
userlast = user;
|
||||||
user=user->next;
|
user=user->next;
|
||||||
destroy_user(user);
|
destroy_user(userlast);
|
||||||
}
|
}
|
||||||
userl.users=NULL;
|
userl.users=NULL;
|
||||||
ast_mutex_unlock(&userl.lock);
|
ast_mutex_unlock(&userl.lock);
|
||||||
|
Reference in New Issue
Block a user