From: Olle Johansson Date: Mon, 31 Aug 2009 18:17:38 +0000 (+0000) Subject: By copying this code I got bad comments in reviewboard... Better fix the original. X-Git-Tag: 11.0.0-beta1~4283 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9b12df5731227a7a47264cef01e6c86a1f76fd0f;p=thirdparty%2Fasterisk.git 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 --- 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; }