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
This commit is contained in:
Olle Johansson
2009-08-31 18:17:38 +00:00
parent afe7034e19
commit 9b12df5731

View File

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