[Home]

Summary:ASTERISK-10957: Standard "free()" memory function replaced with "ast_free()" in Voicemail code
Reporter:James Rothenberger (jaroth)Labels:
Date Opened:2007-12-03 12:14:01.000-0600Date Closed:2007-12-03 15:22:13.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_voicemail
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) memfree.patch
Description:There are 3 locations in app_voicemail where the standard "free()" function is called, instead of the recommended "astfree()" function.  The memory that is being freed has been allocated with ast_calloc().
Comments:By: James Rothenberger (jaroth) 2007-12-03 12:15:33.000-0600

The patch replaces free() with ast_free() in all 3 locations.

By: Digium Subversion (svnbot) 2007-12-03 15:22:13.000-0600

Repository: asterisk
Revision: 90670

U   trunk/apps/app_voicemail.c

------------------------------------------------------------------------
r90670 | mmichelson | 2007-12-03 15:22:13 -0600 (Mon, 03 Dec 2007) | 5 lines

Replacing some calls to free() with ast_free().

(closes issue ASTERISK-10957, reported and patched by jaroth)


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