[asterisk-commits] branch 1.2 - r8619 /branches/1.2/utils/astman.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Tue Jan 24 22:38:37 MST 2006
Author: russell
Date: Tue Jan 24 23:38:36 2006
New Revision: 8619
URL: http://svn.digium.com/view/asterisk?rev=8619&view=rev
Log:
don't leak almost 200 bytes for each new channel (issue #6330)
Modified:
branches/1.2/utils/astman.c
Modified: branches/1.2/utils/astman.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/utils/astman.c?rev=8619&r1=8618&r2=8619&view=diff
==============================================================================
--- branches/1.2/utils/astman.c (original)
+++ branches/1.2/utils/astman.c Tue Jan 24 23:38:36 2006
@@ -111,6 +111,7 @@
prev->next = chan->next;
else
chans = chan->next;
+ free(chan);
return;
}
prev = chan;
More information about the asterisk-commits
mailing list