Fix exception path typo in app_queue.c try_calling().
authorRichard Mudgett <rmudgett@digium.com>
Fri, 7 Sep 2012 21:51:31 +0000 (21:51 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Fri, 7 Sep 2012 21:51:31 +0000 (21:51 +0000)
(closes issue ASTERISK-20380)
Reported by: Jeremy Pepper
Patches:
      fix-local-channel-locking.patch (license #6350) patch uploaded by Jeremy Pepper
........

Merged revisions 372624 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 372625 from http://svn.asterisk.org/svn/asterisk/branches/10
........

Merged revisions 372626 from http://svn.asterisk.org/svn/asterisk/branches/11

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

apps/app_queue.c

index 06e5fc8..d6b5a16 100644 (file)
@@ -5054,7 +5054,7 @@ static int try_calling(struct queue_ent *qe, const struct ast_flags opts, char *
                                callattempt_free(tmp);
                                ao2_ref(cur, -1);
                                ao2_iterator_destroy(&memi);
-                               ao2_unlock(&qe->parent);
+                               ao2_unlock(qe->parent);
                                goto out;
                        }
                        datastore->data = dialed_interfaces;