summaryrefslogtreecommitdiff
path: root/funcs/func_volume.c
diff options
context:
space:
mode:
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;
}