[asterisk-commits] oej: trunk r215023 - /trunk/funcs/func_volume.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Aug 31 13:17:42 CDT 2009


Author: oej
Date: Mon Aug 31 13:17:38 2009
New Revision: 215023

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=215023
Log:
By copying this code I got bad comments in reviewboard... Better fix the original.

Modified:
    trunk/funcs/func_volume.c

Modified: trunk/funcs/func_volume.c
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/funcs/func_volume.c?view=diff&rev=215023&r1=215022&r2=215023
==============================================================================
--- trunk/funcs/func_volume.c (original)
+++ trunk/funcs/func_volume.c Mon Aug 31 13:17:38 2009
@@ -68,7 +68,7 @@
 
 	/* Destroy the audiohook, and destroy ourselves */
 	ast_audiohook_destroy(&vi->audiohook);
-	free(vi);
+	ast_free(vi);
 
 	return;
 }




More information about the asterisk-commits mailing list