]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
close sip socket on unload (bug #4152)
authorRussell Bryant <russell@russellbryant.com>
Thu, 19 May 2005 03:04:25 +0000 (03:04 +0000)
committerRussell Bryant <russell@russellbryant.com>
Thu, 19 May 2005 03:04:25 +0000 (03:04 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@5729 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 02571734d48dc5dd6b7867d49a0b142d8998aa65..06b1b090e1f639472901d01d23401314eaf26853 100755 (executable)
@@ -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;
 }