summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Minessale II <anthmct@yahoo.com>2004-10-07 16:42:37 +0000
committerAnthony Minessale II <anthmct@yahoo.com>2004-10-07 16:42:37 +0000
commit37eeb4abd0b07aa835b4f830a9b8d389c410a4f1 (patch)
tree4dac39f681dc9ab6475d37813e4be3f4eca0e8f5
parente2418b70082cd98c98291a9ba7d4a69515d63aa1 (diff)
fix typo in chan sip that causes segV
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3931 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rwxr-xr-xchannels/chan_sip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 071c4a84f..d7979eaee 100755
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -8786,7 +8786,7 @@ static void delete_users(void)
for (user=userl.users;user;) {
userlast = user;
user=user->next;
- destroy_user(user);
+ destroy_user(userlast);
}
userl.users=NULL;
ast_mutex_unlock(&userl.lock);