[asterisk-bugs] [Asterisk 0011130]: [patch] Memory leak on chan_gtalk.c
noreply at bugs.digium.com
noreply at bugs.digium.com
Wed Oct 31 16:17:09 CDT 2007
The following issue has been ASSIGNED.
======================================================================
http://bugs.digium.com/view.php?id=11130
======================================================================
Reported By: eliel
Assigned To: qwell
======================================================================
Project: Asterisk
Issue ID: 11130
Category: Channels/chan_gtalk
Reproducibility: always
Severity: minor
Priority: normal
Status: assigned
Asterisk Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!): 87889
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 10-31-2007 15:53 CDT
Last Modified: 10-31-2007 16:17 CDT
======================================================================
Summary: [patch] Memory leak on chan_gtalk.c
Description:
We are allocating newcandidate, and it is not used at that time, it is
being overwriten by another call to ast_calloc().
And also notice on the code that 'if (!p)' it is not being freed.
======================================================================
----------------------------------------------------------------------
svnbot - 10-31-07 16:17
----------------------------------------------------------------------
Repository: asterisk
Revision: 87907
_U trunk/
U trunk/channels/chan_gtalk.c
U trunk/channels/chan_jingle.c
------------------------------------------------------------------------
r87907 | qwell | 2007-10-31 16:17:08 -0500 (Wed, 31 Oct 2007) | 15 lines
Merged revisions 87906 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
(closes issue http://bugs.digium.com/view.php?id=11130)
(closes issue http://bugs.digium.com/view.php?id=11132)
........
r87906 | qwell | 2007-10-31 16:16:20 -0500 (Wed, 31 Oct 2007) | 4 lines
Don't try to allocate memory that we're just going to re-allocate later
anyways.
Issues 11130 and 11132, patch by eliel.
........
------------------------------------------------------------------------
Issue History
Date Modified Username Field Change
======================================================================
10-31-07 16:17 svnbot Checkin
10-31-07 16:17 svnbot Note Added: 0072854
10-31-07 16:17 svnbot Status new => assigned
10-31-07 16:17 svnbot Assigned To => qwell
======================================================================
More information about the asterisk-bugs
mailing list