summaryrefslogtreecommitdiff
path: root/funcs/func_volume.c
diff options
context:
space:
mode:
authorOlle Johansson <oej@edvina.net>2009-08-31 18:17:38 +0000
committerOlle Johansson <oej@edvina.net>2009-08-31 18:17:38 +0000
commit9b12df5731227a7a47264cef01e6c86a1f76fd0f (patch)
tree7d4618f142b49e29fe5850e706374dfa13259c81 /funcs/func_volume.c
parentafe7034e19d2367fe547cee0e940c5cf1b6da19a (diff)
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
Diffstat (limited to 'funcs/func_volume.c')
-rw-r--r--funcs/func_volume.c2
1 files changed, 1 insertions, 1 deletions
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;
}