ensure the SIP socket is closed on module unload (bug #4149)
authorKevin P. Fleming <kpfleming@digium.com>
Wed, 4 May 2005 00:14:58 +0000 (00:14 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Wed, 4 May 2005 00:14:58 +0000 (00:14 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5562 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 917d360..5b8abcb 100755 (executable)
@@ -11200,6 +11200,7 @@ int unload_module()
        ASTOBJ_CONTAINER_DESTROY(&regl);
 
        clear_realm_authentication(authl);
+       close(sipsock);
                
        return 0;
 }