[asterisk-bugs] [Asterisk 0017774]: [patch] SIP peers memory leak
Asterisk Bug Tracker
noreply at bugs.digium.com
Mon Aug 9 15:46:49 CDT 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=17774
======================================================================
Reported By: kkm
Assigned To: dvossel
======================================================================
Project: Asterisk
Issue ID: 17774
Category: Channels/chan_sip/General
Reproducibility: have not tried
Severity: major
Priority: normal
Status: assigned
Asterisk Version: 1.6.2.10
JIRA: SWP-1995
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2010-07-31 22:55 CDT
Last Modified: 2010-08-09 15:46 CDT
======================================================================
Summary: [patch] SIP peers memory leak
Description:
There is a memory leak associated with sip peer creation and destruction,
because of a bug in reference counting. Patch attached.
======================================================================
----------------------------------------------------------------------
(0125736) svnbot (reporter) - 2010-08-09 15:46
https://issues.asterisk.org/view.php?id=17774#c125736
----------------------------------------------------------------------
Repository: asterisk
Revision: 281430
U branches/1.6.2/channels/chan_sip.c
------------------------------------------------------------------------
r281430 | dvossel | 2010-08-09 15:46:48 -0500 (Mon, 09 Aug 2010) | 13
lines
fixes SIP peers memory leak
We zeroed out the peer's addr before it was removed from the
peers_by_ip container. This made it impossible to be removed
from the container as the addr is the key used by the container
to find the peer.
(closes issue https://issues.asterisk.org/view.php?id=17774)
Reported by: kkm
Patches:
017774-sip-peer-leak-1.6.2.10.diff uploaded by kkm (license 888)
017774-sip-peer-leak-1.8.diff uploaded by kkm (license 888)
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=281430
Issue History
Date Modified Username Field Change
======================================================================
2010-08-09 15:46 svnbot Checkin
2010-08-09 15:46 svnbot Note Added: 0125736
======================================================================
More information about the asterisk-bugs
mailing list