[Asterisk-cvs] asterisk/channels chan_sip.c,1.292.2.2,1.292.2.3
markster at lists.digium.com
markster at lists.digium.com
Mon Feb 9 00:00:39 CST 2004
Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv6441/channels
Modified Files:
Tag: v1-0_stable
chan_sip.c
Log Message:
Fix memory leak with SIP friends (bug #1010)
Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.292.2.2
retrieving revision 1.292.2.3
diff -u -d -r1.292.2.2 -r1.292.2.3
--- chan_sip.c 9 Feb 2004 05:40:00 -0000 1.292.2.2
+++ chan_sip.c 9 Feb 2004 06:09:23 -0000 1.292.2.3
@@ -761,6 +761,8 @@
if ((nowtime - regseconds) > default_expiry)
memset(&p->addr, 0, sizeof(p->addr));
}
+ mysql_free_result(result);
+ result = NULL;
}
ast_mutex_unlock(&mysqllock);
}
More information about the svn-commits
mailing list