Merged revisions 62005 via svnmerge from
authorRussell Bryant <russell@russellbryant.com>
Thu, 26 Apr 2007 03:24:01 +0000 (03:24 +0000)
committerRussell Bryant <russell@russellbryant.com>
Thu, 26 Apr 2007 03:24:01 +0000 (03:24 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r62005 | file | 2007-04-25 22:19:51 -0500 (Wed, 25 Apr 2007) | 2 lines

Missed an ast_app_group_discard during merge. Thanks blitzrage!

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@62006 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/channel.c

index fc3a31b..c518e41 100644 (file)
@@ -1133,6 +1133,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);