From 7b8ef5c7e3ab6b3061e4e6479385611d41b16afc Mon Sep 17 00:00:00 2001 From: Corey Farrell Date: Wed, 12 Nov 2014 20:37:01 +0000 Subject: [PATCH] Fix leak in AMI Action Bridge MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Add missing reference cleanup for newly created bridge. ASTERISK-24281 Reported by: Stefan Engström Review: https://reviewboard.asterisk.org/r/4154/ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@427736 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/features.c | 1 + 1 file changed, 1 insertion(+) diff --git a/main/features.c b/main/features.c index 700a21f86e..6944e10d4e 100644 --- a/main/features.c +++ b/main/features.c @@ -844,6 +844,7 @@ static int action_bridge(struct mansession *s, const struct message *m) } astman_send_ack(s, m, "Channels have been bridged"); + ao2_cleanup(bridge); return 0; } -- 2.47.2