From 7f23f1b5dee951a03336d08fce1877a663fffd55 Mon Sep 17 00:00:00 2001
From: Mark Spencer <markster@digium.com>
Date: Tue, 20 Dec 2005 23:36:22 +0000
Subject: [PATCH] Avoid multiple free

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7565 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 apps/app_meetme.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/apps/app_meetme.c b/apps/app_meetme.c
index 4333901cb9..45b42efc45 100644
--- a/apps/app_meetme.c
+++ b/apps/app_meetme.c
@@ -813,9 +813,9 @@ static int conf_free(struct ast_conference *conf)
 			ast_frfree(conf->transframe[x]);
 		if (conf->transpath[x])
 			ast_translator_free_path(conf->transpath[x]);
-		if (conf->origframe)
-			ast_frfree(conf->origframe);
 	}
+	if (conf->origframe)
+		ast_frfree(conf->origframe);
 	if (conf->chan)
 		ast_hangup(conf->chan);
 	else
-- 
GitLab