[asterisk-commits] seanbright: trunk r161350 - /trunk/apps/app_voicemail.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Dec 5 10:04:36 CST 2008


Author: seanbright
Date: Fri Dec  5 10:04:36 2008
New Revision: 161350

URL: http://svn.digium.com/view/asterisk?view=rev&rev=161350
Log:
Use ast_free() instead of free(), pointed out by eliel on IRC.

Modified:
    trunk/apps/app_voicemail.c

Modified: trunk/apps/app_voicemail.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_voicemail.c?view=diff&rev=161350&r1=161349&r2=161350
==============================================================================
--- trunk/apps/app_voicemail.c (original)
+++ trunk/apps/app_voicemail.c Fri Dec  5 10:04:36 2008
@@ -10126,7 +10126,7 @@
 	}
 
 	result = ast_strdup(str->str);
-	free(str);
+	ast_free(str);
 
 	return result;
 }




More information about the asterisk-commits mailing list