[Asterisk-cvs] asterisk/channels chan_sip.c,1.286,1.287
markster at lists.digium.com
markster at lists.digium.com
Mon Feb 2 14:41:29 CST 2004
Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv21496/channels
Modified Files:
chan_sip.c
Log Message:
Release the call when freeing a registry
Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.286
retrieving revision 1.287
diff -u -d -r1.286 -r1.287
--- chan_sip.c 2 Feb 2004 06:38:08 -0000 1.286
+++ chan_sip.c 2 Feb 2004 20:50:05 -0000 1.287
@@ -6638,6 +6638,8 @@
for (reg = registrations;reg;) {
regl = reg;
reg = reg->next;
+ if (regl->call)
+ sip_destroy(regl->call);
if (regl->expire > -1)
ast_sched_del(sched, regl->expire);
free(regl);
More information about the svn-commits
mailing list