[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:40:51 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: closed
Asterisk Version: SVN
JIRA:
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!):
Request Review:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 2009-09-22 17:52 CDT
Last Modified: 2009-09-24 15:40 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.
======================================================================
----------------------------------------------------------------------
(0111349) svnbot (reporter) - 2009-09-24 15:40
https://issues.asterisk.org/view.php?id=15939#c111349
----------------------------------------------------------------------
Repository: asterisk
Revision: 220371
_U branches/1.6.1/
U branches/1.6.1/main/tcptls.c
------------------------------------------------------------------------
r220371 | dvossel | 2009-09-24 15:40:50 -0500 (Thu, 24 Sep 2009) | 14
lines
Merged revisions 220365 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r220365 | dvossel | 2009-09-24 15:37:20 -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=220371
Issue History
Date Modified Username Field Change
======================================================================
2009-09-24 15:40 svnbot Checkin
2009-09-24 15:40 svnbot Note Added: 0111349
======================================================================
More information about the asterisk-bugs
mailing list