From: Terry Wilson Date: Wed, 25 Jan 2012 17:28:29 +0000 (+0000) Subject: Remove some extraneous debugging from registry memleak fix X-Git-Tag: 1.8.10.0-rc1~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=054c466a2f58ecbf8319671cb205559aadc7c176;p=thirdparty%2Fasterisk.git Remove some extraneous debugging from registry memleak fix git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@352551 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index b444e6da78..9431d6ac50 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -27753,8 +27753,6 @@ static void cleanup_all_regs(void) /* First, destroy all outstanding registry calls */ /* This is needed, since otherwise active registry entries will not be destroyed */ ASTOBJ_CONTAINER_TRAVERSE(®l, 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 @@ static void cleanup_all_regs(void) 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)); }