Missed an ast_app_group_discard during merge. Thanks blitzrage!

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@62005 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Joshua Colp
2007-04-26 03:19:51 +00:00
parent 1c6f5bd851
commit 230dc4ad88

View File

@@ -1221,6 +1221,8 @@ void ast_channel_free(struct ast_channel *chan)
while ((vardata = AST_LIST_REMOVE_HEAD(headp, entries)))
ast_var_delete(vardata);
ast_app_group_discard(chan);
/* Destroy the jitterbuffer */
ast_jb_destroy(chan);