<div>
<style type="text/css">
td a, td a:link, td a:visited, td a:hover, td a:active {background:transparent;font-family: Arial, sans-serif;text-decoration:underline;}
td a:link {color:#369;}
td a:visited {color:#444;}
td a:hover, td a:active {color:#036;}
td a:hover {text-decoration:none;}
</style>
<font size="2" color="black" face="Arial, Helvetica, sans-serif" style="font-family: Arial, sans-serif;font-size: 13px;color:#000">

    <table align="center" border="0" cellpadding="5" cellspacing="0" width="98%">
        <tr>
            <td style="vertical-align:top">
            <table width="100%" border="0" cellpadding="0" cellspacing="0" style="background-color:#f2f2f2;border-top:1px solid #d9d9d9;border-bottom:1px solid #d9d9d9;color:#000;">
            <tr>
                <td width="100%" style="font-family: Arial, sans-serif; font-size: 13px; color:#000;padding:5px 10px">
                    <a href="http://bamboo.asterisk.org/browse/AST18-SNOWLEOPARD-X8664/log" style="font-family: Arial, sans-serif; font-size: 15px; font-weight:bold; color:#000">AST18-SNOWLEOPARD-X8664-386</a>
                    <span style="font-family: Arial, sans-serif; font-size: 14px;"> has been queued, but there's no agent capable of building it.</span>
                </td>
            </tr>
            </table>
            <br>

  <table width="100%" border="0" cellpadding="0" cellspacing="0" style="background-color:#ecf1f7;border-top:1px solid #bbd0e5;border-bottom:1px solid #bbd0e5;color:#036;">
        <tr>
            <td width="60%" style="font-family: Arial, sans-serif;text-align:left;font-size:16px;font-weight:bold;color:#036;padding:5px 10px">
                <a href="http://bamboo.asterisk.org/browse/AST18-SNOWLEOPARD-X8664/log" style="text-decoration: none; font-family: Arial, sans-serif;text-align:left;font-size:16px;font-weight:bold;color:#036" >Code Changes</a>
            </td>
            <td width="40%" style="font-family: Arial, sans-serif;text-align:right;font-size:13px;color:#036;padding:5px 10px">
            </td>
        </tr>
   </table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
            <tr><td width="20" style="vertical-align:top;padding:10px 0 0px 10px">
                    <img src="http://bamboo.asterisk.org/images/icons/businessman.gif" width="15" height="15">
                </td>
                <td width="100%" style="font-family: Arial, sans-serif; font-size: 13px; color:#000;vertical-align:top;padding:10px 10px 0px 10px">
                    <a href="http://bamboo.asterisk.org/browse/author/mjordan" style="font-family: Arial, sans-serif; font-size: 13px; font-weight:bold; color:#000">
                       mjordan</a><br>
                    Fix for memory leaks / cleanup in cel_pgsql<br/>
<br/>
There were a number of issues in cel_pgsql's pgsql_log method:<br/>
* If either sql or sql2 could not be allocated, the method would return while<br/>
the pgsql_lock was still locked<br/>
* If the execution of the log statement succeeded, the sql and sql2 structs<br/>
were never free'd<br/>
* Reconnection successes were logged as ERRORs.&nbsp; In general, the severity of<br/>
several logging statements was reduced<br/>
<br/>
(closes issue ASTERISK-18879)<br/>
Reported by: Niolas Bouliane<br/>
Tested by: Matt Jordan<br/>
<br/>
Review: <a href="https://reviewboard.asterisk.org/r/1624/">https://reviewboard.asterisk.org/r/1624/</a><br/>
<br/>

                </td>
                <td width="60" style="font-family: Arial, sans-serif; font-size: 13px; ;color:#036;vertical-align:top;padding:10px 10px 0px 10px">
                     (348888)
                </td></tr>
            <tr><td width="20" style="vertical-align:top;padding:10px 0 0px 10px">
                    <img src="http://bamboo.asterisk.org/images/icons/businessman.gif" width="15" height="15">
                </td>
                <td width="100%" style="font-family: Arial, sans-serif; font-size: 13px; color:#000;vertical-align:top;padding:10px 10px 0px 10px">
                    <a href="http://bamboo.asterisk.org/browse/author/rmudgett" style="font-family: Arial, sans-serif; font-size: 13px; font-weight:bold; color:#000">
                       rmudgett</a><br>
                    Fix extension state callback references in chan_sip.<br/>
<br/>
Chan_sip gives a dialog reference to the extension state callback and<br/>
assumes that when ast_extension_state_del() returns, the callback cannot<br/>
happen anymore.&nbsp; Chan_sip then reduces the dialog reference count<br/>
associated with the callback.&nbsp; Recent changes (ASTERISK-17760) have<br/>
resulted in the potential for the callback to happen after<br/>
ast_extension_state_del() has returned.&nbsp; For chan_sip, this could be very<br/>
bad because the dialog pointer could have already been destroyed.<br/>
<br/>
* Added ast_extension_state_add_destroy() so chan_sip can account for the<br/>
sip_pvt reference given to the extension state callback when the extension<br/>
state callback is deleted.<br/>
<br/>
* Fix pbx.c awkward statecbs handling in ast_extension_state_add_destroy()<br/>
and handle_statechange() now that the struct ast_state_cb has a destructor<br/>
to call.<br/>
<br/>
* Ensure that ast_extension_state_add_destroy() will never return -1 or 0<br/>
for a successful registration.<br/>
<br/>
* Fixed pbx.c statecbs_cmp() to compare the correct information.&nbsp; The<br/>
passed in value to compare is a change_cb function pointer not an object<br/>
pointer.<br/>
<br/>
* Make pbx.c ast_merge_contexts_and_delete() not perform callbacks with<br/>
AST_EXTENSION_REMOVED with locks held.&nbsp; Chan_sip is notorious for<br/>
deadlocking when those locks are held during the callback.<br/>
<br/>
* Removed unused lock declaration for the pbx.c store_hints list.<br/>
<br/>
(closes issue ASTERISK-18844)<br/>
Reported by: rmudgett<br/>
<br/>
Review: <a href="https://reviewboard.asterisk.org/r/1635/">https://reviewboard.asterisk.org/r/1635/</a><br/>

                </td>
                <td width="60" style="font-family: Arial, sans-serif; font-size: 13px; ;color:#036;vertical-align:top;padding:10px 10px 0px 10px">
                     (348940)
                </td></tr>
</table><br>

<table width="100%" border="0" cellpadding="0" cellspacing="0">
    <tr><td colspan="2" align="center" style="font-family: Arial, sans-serif;text-align:center;font-size:11px;font-weight:bold;color:#999;vertical-align:top;padding:20px">
        Email generated by <a href="http://bamboo.asterisk.org" style="font-family: Arial, sans-serif; font-size: 11px; color:#999">Atlassian Bamboo</a> - if you wish to stop receiving these emails edit your  <a href="http://bamboo.asterisk.org/profile/userNotifications.action" style="font-family: Arial, sans-serif; font-size: 11px; color:#999">user profile</a> or <a href="http://bamboo.asterisk.org/viewAdministrators.action" style="font-family: Arial, sans-serif; font-size: 11px; color:#999">notify your administrator</a>
    </td>
    </tr>
</table>

            </td>
            <td width="150" style="vertical-align:top">
    <table width="150" border="0" cellpadding="0" cellspacing="0" style="background-color:#ecf1f7;border-top:1px solid #bbd0e5;border-bottom:1px solid #bbd0e5;color:#036;">
        <tr>
            <td style="font-family: Arial, sans-serif;text-align:left;font-size:16px;font-weight:bold;color:#036;vertical-align:top;padding:5px 10px">
                Actions
            </td>
        </tr>
    </table>
    <table width="150" border="0" cellpadding="0" cellspacing="0" style="background-color:#f5f9fc;border-bottom:1px solid #bbd0e5;">
        <tr>
            <td style="font-family: Ariel, sans-serif; font-size: 13px; color:#036;vertical-align:top;padding:5px 10px;line-height:1.7">
    <a href="http://bamboo.asterisk.org/browse/AST18-SNOWLEOPARD-X8664/log" style="font-family: Arial, sans-serif; font-size: 13px; color:#036">View Online</a>
    <br>
    <a href="http://bamboo.asterisk.org/build/admin/stopPlan.action?planKey=AST18-SNOWLEOPARD-X8664" style="font-family: Arial, sans-serif; font-size: 13px; color:#036">Stop Build</a>
    <br>
            </td>
        </tr>
    </table>
            </td>
        <tr>
    </table>
</font>
</div>