[asterisk-commits] twilson: branch 1.8 r352551 - /branches/1.8/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jan 25 11:28:33 CST 2012


Author: twilson
Date: Wed Jan 25 11:28:29 2012
New Revision: 352551

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=352551
Log:
Remove some extraneous debugging from registry memleak fix

Modified:
    branches/1.8/channels/chan_sip.c

Modified: branches/1.8/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/channels/chan_sip.c?view=diff&rev=352551&r1=352550&r2=352551
==============================================================================
--- branches/1.8/channels/chan_sip.c (original)
+++ branches/1.8/channels/chan_sip.c Wed Jan 25 11:28:29 2012
@@ -27753,8 +27753,6 @@
 		/* First, destroy all outstanding registry calls */
 		/* This is needed, since otherwise active registry entries will not be destroyed */
 		ASTOBJ_CONTAINER_TRAVERSE(&regl, 1, do {  /* regl is locked */
-				char buf[1024];
-
 				ASTOBJ_RDLOCK(iterator); /* now regl is locked, and the object is also locked */
 				if (iterator->call) {
 					ast_debug(3, "Destroying active SIP dialog for registry %s@%s\n", iterator->username, iterator->hostname);
@@ -27768,7 +27766,6 @@
 				if (iterator->timeout > -1) {
 					AST_SCHED_DEL_UNREF(sched, iterator->timeout, registry_unref(iterator, "reg ptr unref from reload config"));
 				}
-				ASTOBJ_DUMP(buf, sizeof(buf), iterator);
 				ASTOBJ_UNLOCK(iterator);
 		} while(0));
 }




More information about the asterisk-commits mailing list