From 9b12df5731227a7a47264cef01e6c86a1f76fd0f Mon Sep 17 00:00:00 2001 From: Olle Johansson 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: https://origsvn.digium.com/svn/asterisk/trunk@215023 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- 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 9c8b92b204..06bc38a42e 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; }