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

Matt Jordan (JIRA) noreply at issues.asterisk.org
Fri Sep 7 08:36:08 CDT 2012


Bad ao2_unlock call in app_queue's try_calling
----------------------------------------------

                 Key: ASTERISK-20382
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20382
             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