]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 320236 via svnmerge from
authorRichard Mudgett <rmudgett@digium.com>
Fri, 20 May 2011 20:49:03 +0000 (20:49 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Fri, 20 May 2011 20:49:03 +0000 (20:49 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r320236 | rmudgett | 2011-05-20 15:44:54 -0500 (Fri, 20 May 2011) | 20 lines

  Merged revisions 320235 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r320235 | rmudgett | 2011-05-20 15:38:22 -0500 (Fri, 20 May 2011) | 13 lines

    The meetme CLI command completion leaves conferences mutex locked.

    When issuing a meetme kick CLI command and an invalid (non-existent)
    conference number is specified, pressing Tab leaves the conferences mutex
    locked and, therefore, all conferences deadlock.

    Add missing unlock.

    (closes issue #19336)
    Reported by: zvision
    Patches:
          app_meetme.diff uploaded by zvision (license 798)
  ........
................

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

apps/app_meetme.c

index b3cc1fa794d7604820c9a71a406b4e32e2e6e5da..703bafe130e6a022e865a62aff622e4acb2a40df 100644 (file)
@@ -1342,6 +1342,7 @@ static char *complete_meetmecmd(const char *line, const char *word, int pos, int
                                AST_LIST_UNLOCK(&confs);
                                return usr ? ast_strdup(usrno) : NULL;
                        }
+                       AST_LIST_UNLOCK(&confs);
                }
        }