See if this stops a seg
authorJeremy McNamara <jj@nufone.net>
Wed, 25 Jun 2003 06:33:56 +0000 (06:33 +0000)
committerJeremy McNamara <jj@nufone.net>
Wed, 25 Jun 2003 06:33:56 +0000 (06:33 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1118 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/h323/ast_h323.cpp
channels/h323/chan_h323.c

index a70f4a0..efd3a98 100755 (executable)
@@ -932,7 +932,7 @@ int h323_set_gk(int gatekeeper_discover, char *gatekeeper, char *secret)
                        
                        /* XXX Maybe we should fire a new thread to attempt to re-register later and not kill asterisk here? */
 
-                       delete rasChannel;
+               //      delete rasChannel;
                        return 1;
                }
        }
index e044e23..98b0069 100755 (executable)
@@ -1551,7 +1551,7 @@ int reload(void)
        if (gatekeeper_disable == 0) {
                if (h323_set_gk(gatekeeper_discover, gatekeeper, secret)) {
                        ast_log(LOG_ERROR, "Gatekeeper registration failed.\n");
-                       h323_end_process();
+               //      h323_end_process();
                        return -1;
                }
        }