[asterisk-bugs] [Asterisk 0016476]: [patch] fix leaks and cppcheck warning

Asterisk Bug Tracker noreply at bugs.digium.com
Thu May 5 17:02:32 CDT 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16476 
====================================================================== 
Reported By:                junky
Assigned To:                russell
====================================================================== 
Project:                    Asterisk
Issue ID:                   16476
Category:                   Applications/app_rpt
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 235774 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-12-20 13:25 CST
Last Modified:              2011-05-05 17:02 CDT
====================================================================== 
Summary:                    [patch] fix leaks and cppcheck warning
Description: 
When we return, these 2 strings has been not freed properly.

the variable value generate a warning, since it was not initialized
properly.

====================================================================== 

---------------------------------------------------------------------- 
 (0134547) svnbot (reporter) - 2011-05-05 17:02
 https://issues.asterisk.org/view.php?id=16476#c134547 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 317428

_U  trunk/
U   trunk/apps/app_rpt.c

------------------------------------------------------------------------
r317428 | russell | 2011-05-05 17:02:32 -0500 (Thu, 05 May 2011) | 14
lines

Merged revisions 317427 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r317427 | russell | 2011-05-05 16:58:45 -0500 (Thu, 05 May 2011) | 7
lines
  
  Fix potential memory leak, and use of uninitialized memory.
  
  (closes issue https://issues.asterisk.org/view.php?id=16476)
  Reported by: junky
  Patches:
        M16476.diff uploaded by junky (license 177)
........

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

http://svn.digium.com/view/asterisk?view=rev&revision=317428 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-05 17:02 svnbot         Checkin                                      
2011-05-05 17:02 svnbot         Note Added: 0134547                          
======================================================================




More information about the asterisk-bugs mailing list