[asterisk-bugs] [Asterisk 0013785]: [patch] Memory leak while reloading chan_mgcp.so
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue Oct 28 16:27:38 CDT 2008
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=13785
======================================================================
Reported By: eliel
Assigned To: Corydon76
======================================================================
Project: Asterisk
Issue ID: 13785
Category: Channels/chan_mgcp
Reproducibility: have not tried
Severity: minor
Priority: normal
Status: assigned
Asterisk Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!): 151979
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 2008-10-26 01:41 CDT
Last Modified: 2008-10-28 16:27 CDT
======================================================================
Summary: [patch] Memory leak while reloading chan_mgcp.so
Description:
When reloading chan_mgcp.so, we are not closing mgcpsock and (if the file
didn change) so not calling ast_io_remove (if the file didn't change), so
we dont need to call again ast_io_add unless mgcpsock_read_id is set to
NULL.
======================================================================
----------------------------------------------------------------------
(0094342) svnbot (reporter) - 2008-10-28 16:27
http://bugs.digium.com/view.php?id=13785#c94342
----------------------------------------------------------------------
Repository: asterisk
Revision: 152442
U trunk/channels/chan_mgcp.c
------------------------------------------------------------------------
r152442 | tilghman | 2008-10-28 16:27:37 -0500 (Tue, 28 Oct 2008) | 7
lines
Only re-add the io port if it was closed, otherwise reload causes a memory
leak.
(closes issue http://bugs.digium.com/view.php?id=13785)
Reported by: eliel
Patches:
chan_mgcp.c.patch uploaded by eliel (license 64)
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=152442
Issue History
Date Modified Username Field Change
======================================================================
2008-10-28 16:27 svnbot Checkin
2008-10-28 16:27 svnbot Note Added: 0094342
======================================================================
More information about the asterisk-bugs
mailing list