]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 55949 via svnmerge from
authorJoshua Colp <jcolp@digium.com>
Wed, 21 Feb 2007 20:18:16 +0000 (20:18 +0000)
committerJoshua Colp <jcolp@digium.com>
Wed, 21 Feb 2007 20:18:16 +0000 (20:18 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r55949 | file | 2007-02-21 15:16:34 -0500 (Wed, 21 Feb 2007) | 2 lines

Only dispose of the conference if one was created.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@55950 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_meetme.c

index 502cb94f1b3a6a3752649c0742f71084ec1deab3..7a394f20dd96fdedcef43b3b541b7cba256aa6b2 100644 (file)
@@ -2546,8 +2546,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);