From 54f59f4dad08e261379b4e3952edcce83c94fb0f Mon Sep 17 00:00:00 2001 From: Joshua Colp Date: Wed, 21 Feb 2007 20:16:34 +0000 Subject: [PATCH] Only dispose of the conference if one was created. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@55949 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_meetme.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/app_meetme.c b/apps/app_meetme.c index 187ec0a5d1..a66ba45d8d 100644 --- a/apps/app_meetme.c +++ b/apps/app_meetme.c @@ -2537,8 +2537,10 @@ static int conf_exec(struct ast_channel *chan, void *data) res = conf_run(chan, cnf, confflags.flags, optargs); } } - dispose_conf(cnf); - cnf = NULL; + if (cnf) { + dispose_conf(cnf); + cnf = NULL; + } } } while (allowretry);