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; }