[asterisk-bugs] [Asterisk 0013058]: [patch] ast_str api janitor

noreply at bugs.digium.com noreply at bugs.digium.com
Thu Jul 10 16:25:17 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13058 
====================================================================== 
Reported By:                pputman
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13058
Category:                   Applications/app_meetme
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 129732 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             07-10-2008 15:11 CDT
Last Modified:              07-10-2008 16:25 CDT
====================================================================== 
Summary:                    [patch] ast_str api janitor
Description: 
Changes certain strings to ast_str to replace multiple library calls
====================================================================== 

---------------------------------------------------------------------- 
 pputman - 07-10-08 16:25  
---------------------------------------------------------------------- 
Followed your suggestions, and used ast_str_alloca() and ast_str_set.  I'm
not exactly sure why when using ast_str_alloca() you do not need to free
the memory.  Is this because it uses memory on the stack, so it's freed
when the function returns? 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-10-08 16:25  pputman        Note Added: 0090049                          
======================================================================




More information about the asterisk-bugs mailing list