summaryrefslogtreecommitdiff
path: root/channels
diff options
context:
space:
mode:
authorTerry Wilson <twilson@digium.com>2012-01-25 17:33:23 +0000
committerTerry Wilson <twilson@digium.com>2012-01-25 17:33:23 +0000
commit080ea285151baac9329c1faa32030818598583ba (patch)
tree944ca589d2dd34215b00defe22e530e70c515696 /channels
parentcbe57b11cb673a6eabe7cdd4d2b5c8ba81cec216 (diff)
Remove some extraneous debugging from registry memleak fix
........ Merged revisions 352551 from http://svn.asterisk.org/svn/asterisk/branches/1.8 ........ Merged revisions 352556 from http://svn.asterisk.org/svn/asterisk/branches/10 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@352565 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_sip.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 7db4d74ed..78b5eef96 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -28800,8 +28800,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(&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);
@@ -28815,7 +28813,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));
}