[asterisk-bugs] [Asterisk 0013498]: freeing unused memory in ast_get_enum

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Sep 16 16:47:09 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13498 
====================================================================== 
Reported By:                pj
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13498
Category:                   Functions/func_enum
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!): 143034 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-09-16 16:35 CDT
Last Modified:              2008-09-16 16:47 CDT
====================================================================== 
Summary:                    freeing unused memory in ast_get_enum
Description: 
I found some incorrect memory handling in enum.c,
every time asterisk invoke ENUMLOOKUP() function, 
it generates following warnings in mmlog:
WARNING: Freeing unused memory at (nil), in ast_get_enum of enum.c, line
897
WARNING: Freeing unused memory at (nil), in ast_get_enum of enum.c, line
897
WARNING: Freeing unused memory at (nil), in ast_get_enum of enum.c, line
897
WARNING: Freeing unused memory at (nil), in ast_get_enum of enum.c, line
897
WARNING: Freeing unused memory at (nil), in ast_get_enum of enum.c, line
897
====================================================================== 

---------------------------------------------------------------------- 
 (0092594) pj (reporter) - 2008-09-16 16:47
 http://bugs.digium.com/view.php?id=13498#c92594 
---------------------------------------------------------------------- 
maybe it's only cosmetic thing, I open this bugreport according to
recommendation by jpeeler, in http://bugs.digium.com/view.php?id=13337 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-09-16 16:47 pj             Note Added: 0092594                          
======================================================================




More information about the asterisk-bugs mailing list