From d000fabce027967dca16f5131445b736c0deed35 Mon Sep 17 00:00:00 2001 From: oej Date: Mon, 31 Aug 2009 18:17:38 +0000 Subject: [PATCH] By copying this code I got bad comments in reviewboard... Better fix the original. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@215023 f38db490-d61c-443f-a65b-d21fe96a405b --- funcs/func_volume.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/funcs/func_volume.c b/funcs/func_volume.c index 9c8b92b20..06bc38a42 100644 --- a/funcs/func_volume.c +++ b/funcs/func_volume.c @@ -68,7 +68,7 @@ static void destroy_callback(void *data) /* Destroy the audiohook, and destroy ourselves */ ast_audiohook_destroy(&vi->audiohook); - free(vi); + ast_free(vi); return; }