[asterisk-bugs] [Asterisk 0015939]: memory leak, tcptls_session never destroyed in chan_sip for client connections
Asterisk Bug Tracker
noreply at bugs.digium.com
Thu Sep 24 15:39:40 CDT 2009
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=15939
======================================================================
Reported By: dvossel
Assigned To: dvossel
======================================================================
Project: Asterisk
Issue ID: 15939
Category: Channels/chan_sip/TCP-TLS
Reproducibility: always
Severity: minor
Priority: low
Status: assigned
Asterisk Version: SVN
JIRA:
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2009-09-22 17:52 CDT
Last Modified: 2009-09-24 15:39 CDT
======================================================================
Summary: memory leak, tcptls_session never destroyed in
chan_sip for client connections
Description:
A sip_socket's tcptls_session is dereferenced properly, but due to an extra
ref count given in tcptls.c's ast_tcptls_client_start() function, the
tcptls_session is never destroyed. This causes a memory leak for every
tcp/tls client connection made.
======================================================================
----------------------------------------------------------------------
(0111347) svnbot (reporter) - 2009-09-24 15:39
https://issues.asterisk.org/view.php?id=15939#c111347
----------------------------------------------------------------------
Repository: asterisk
Revision: 220365
U trunk/main/tcptls.c
------------------------------------------------------------------------
r220365 | dvossel | 2009-09-24 15:39:39 -0500 (Thu, 24 Sep 2009) | 8 lines
fixes tcptls_session memory leak caused by ref count error
(closes issue https://issues.asterisk.org/view.php?id=15939)
Reported by: dvossel
Review: https://reviewboard.asterisk.org/r/375/
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=220365
Issue History
Date Modified Username Field Change
======================================================================
2009-09-24 15:39 svnbot Checkin
2009-09-24 15:39 svnbot Note Added: 0111347
======================================================================
More information about the asterisk-bugs
mailing list