[Home]

Summary:ASTERISK-10660: [patch] Memory lead on chan_jingle.c
Reporter:Eliel Sardanons (eliel)Labels:
Date Opened:2007-10-31 16:13:29Date Closed:2007-10-31 16:17:09
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Channels/chan_jingle
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) chan_jingle.c.patch
Description:The variable newcandidate is being alloced with ast_calloc but it is not used a being overwritten his pointer.
newcandidate = ast_calloc();
...
newcandidate = ast_calloc();
So , we are loosing the first pointer.
Comments:By: Digium Subversion (svnbot) 2007-10-31 16:17:09

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 ASTERISK-10658)
(closes issue ASTERISK-10660)

........
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.

........

------------------------------------------------------------------------