From: Joshua Colp Date: Wed, 21 Feb 2007 20:16:34 +0000 (+0000) Subject: Only dispose of the conference if one was created. X-Git-Tag: 1.4.1~55 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=54f59f4dad08e261379b4e3952edcce83c94fb0f;p=thirdparty%2Fasterisk.git 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 --- 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);