From: Richard Mudgett Date: Fri, 7 Sep 2012 21:51:31 +0000 (+0000) Subject: Fix exception path typo in app_queue.c try_calling(). X-Git-Tag: 13.0.0-beta1~2561 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a6be9fd0a5ac32a3434e202e65745b967ebaee1;p=thirdparty%2Fasterisk.git Fix exception path typo in app_queue.c try_calling(). (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 --- diff --git a/apps/app_queue.c b/apps/app_queue.c index 06e5fc861f..d6b5a16631 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -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;