From 9d05ff8ed5f2c898370896ff7a8bb67885596ba1 Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Wed, 6 Jun 2007 21:20:11 +0000 Subject: Issue 9869 - replace malloc and memset with ast_calloc, and other coding guidelines changes git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@67864 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_milliwatt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/app_milliwatt.c') diff --git a/apps/app_milliwatt.c b/apps/app_milliwatt.c index 5a2a9e18d..31ded36d6 100644 --- a/apps/app_milliwatt.c +++ b/apps/app_milliwatt.c @@ -59,7 +59,7 @@ static void *milliwatt_alloc(struct ast_channel *chan, void *params) static void milliwatt_release(struct ast_channel *chan, void *data) { - free(data); + ast_free(data); return; } -- cgit v1.2.3