[asterisk-commits] twilson: branch 1.4 r283834 - /branches/1.4/main/config.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Aug 27 10:11:15 CDT 2010


Author: twilson
Date: Fri Aug 27 10:11:11 2010
New Revision: 283834

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=283834
Log:
Use ast_free since ast_variable_new uses ast_calloc

Modified:
    branches/1.4/main/config.c

Modified: branches/1.4/main/config.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.4/main/config.c?view=diff&rev=283834&r1=283833&r2=283834
==============================================================================
--- branches/1.4/main/config.c (original)
+++ branches/1.4/main/config.c Fri Aug 27 10:11:11 2010
@@ -222,7 +222,7 @@
 		v = v->next;
 		ast_destroy_comment(&vn->precomments);
 		ast_destroy_comment(&vn->sameline);
-		free(vn);
+		ast_free(vn);
 	}
 }
 




More information about the asterisk-commits mailing list