]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Missed an ast_app_group_discard during merge. Thanks blitzrage!
authorJoshua Colp <jcolp@digium.com>
Thu, 26 Apr 2007 03:19:51 +0000 (03:19 +0000)
committerJoshua Colp <jcolp@digium.com>
Thu, 26 Apr 2007 03:19:51 +0000 (03:19 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@62005 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/channel.c

index b598a984e1446ba7f4738f57f049a569bcbbc9fd..37d3b6988bbfaedaa40015ef66a120f25bc74495 100644 (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);