close sip socket on unload (bug #4152)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@5729 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.0
Russell Bryant 21 years ago
parent 2e4b4764fb
commit 548ce34d97

@ -9329,7 +9329,9 @@ int unload_module()
ast_mutex_destroy(&userl.lock);
ast_mutex_destroy(&peerl.lock);
ast_mutex_destroy(&regl.lock);
close(sipsock);
return 0;
}

Loading…
Cancel
Save