[asterisk-bugs] [JIRA] Created: (ASTERISK-20380) Bad ao2_unlock call in app_queue's try_calling
Jeremy Pepper (JIRA)
noreply at issues.asterisk.org
Thu Sep 6 20:52:07 CDT 2012
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
Severity: Minor
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