[asterisk-bugs] [Asterisk 0017891]: Possible memory leak in originate
Asterisk Bug Tracker
noreply at bugs.digium.com
Sun Sep 19 11:12:09 CDT 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=17891
======================================================================
Reported By: oej
Assigned To: oej
======================================================================
Project: Asterisk
Issue ID: 17891
Category: Core/ManagerInterface
Reproducibility: have not tried
Severity: minor
Priority: normal
Status: closed
Asterisk Version: 1.4.35
JIRA:
Regression: No
Reviewboard Link: https://reviewboard.asterisk.org/r/869/
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 2010-08-20 03:51 CDT
Last Modified: 2010-09-19 11:12 CDT
======================================================================
Summary: Possible memory leak in originate
Description:
The originate action can be used with channel variables. These are
allocated, but not freed.
I am working with a patch that
- copies variables to the fast-originate thread, so the thread can free
them by itself
- frees variables at the end of the originate action
======================================================================
----------------------------------------------------------------------
(0127116) svnbot (reporter) - 2010-09-19 11:12
https://issues.asterisk.org/view.php?id=17891#c127116
----------------------------------------------------------------------
Repository: asterisk
Revision: 287472
_U trunk/
U trunk/main/manager.c
------------------------------------------------------------------------
r287472 | oej | 2010-09-19 11:12:08 -0500 (Sun, 19 Sep 2010) | 28 lines
Merged revisions 287471 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8
................
r287471 | oej | 2010-09-19 18:09:28 +0200 (S?\195?\182n, 19 Sep 2010) |
21 lines
Merged revisions 287470 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2
................
r287470 | oej | 2010-09-19 18:06:10 +0200 (S?\195?\182n, 19 Sep 2010)
| 14 lines
Merged revisions 287469 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r287469 | oej | 2010-09-19 17:56:50 +0200 (S?\195?\182n, 19 Sep
2010) | 7 lines
Make sure we always free variables properly in manager originate.
(closes issue https://issues.asterisk.org/view.php?id=17891)
reported, solved and tested by oej
Review: https://reviewboard.asterisk.org/r/869/
........
................
................
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=287472
Issue History
Date Modified Username Field Change
======================================================================
2010-09-19 11:12 svnbot Checkin
2010-09-19 11:12 svnbot Note Added: 0127116
======================================================================
More information about the asterisk-bugs
mailing list