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

Asterisk Bug Tracker noreply at bugs.digium.com
Thu May 5 16:58:47 CDT 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16476 
====================================================================== 
Reported By:                junky
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16476
Category:                   Applications/app_rpt
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     ready for review
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:              
====================================================================== 
Date Submitted:             2009-12-20 13:25 CST
Last Modified:              2011-05-05 16:58 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.

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

---------------------------------------------------------------------- 
 (0134546) svnbot (reporter) - 2011-05-05 16:58
 https://issues.asterisk.org/view.php?id=16476#c134546 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 317427

U   branches/1.8/apps/app_rpt.c

------------------------------------------------------------------------
r317427 | russell | 2011-05-05 16:58:46 -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=317427 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-05 16:58 svnbot         Checkin                                      
2011-05-05 16:58 svnbot         Note Added: 0134546                          
======================================================================




More information about the asterisk-bugs mailing list