[asterisk-bugs] [JIRA] Closed: (ASTERISK-20380) Bad ao2_unlock call in app_queue's try_calling

Digium Subversion (JIRA) noreply at issues.asterisk.org
Fri Sep 7 16:59:07 CDT 2012


     [ https://issues.asterisk.org/jira/browse/ASTERISK-20380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Digium Subversion closed ASTERISK-20380.
----------------------------------------

    Resolution: Fixed

> Bad ao2_unlock call in app_queue's try_calling
> ----------------------------------------------
>
>                 Key: ASTERISK-20380
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20380
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_queue
>    Affects Versions: 11.0.0-beta1
>            Reporter: Jeremy Pepper
>            Assignee: Richard Mudgett
>            Severity: Minor
>         Attachments: fix-local-channel-locking.patch
>
>
> It looks like there's a typo in try_calling:
> {code}
> 			if (!(dialed_interfaces = ast_calloc(1, sizeof(*dialed_interfaces)))) {
> 				callattempt_free(tmp);
> 				ao2_ref(cur, -1);
> 				ao2_iterator_destroy(&memi);
> 				ao2_unlock(&qe->parent);
> 				goto out;
> 			}
> {code}
> Surely that should be spelled {{ao2_unlock(qe->parent);}}.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list