<p>Corey Farrell has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/7795">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">func_odbc: Add missing unlock's to acf_odbc_read.<br><br>Change-Id: I828329ecbd252ae8f27a369a046d2b03102b07c6<br>---<br>M funcs/func_odbc.c<br>1 file changed, 2 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/95/7795/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/funcs/func_odbc.c b/funcs/func_odbc.c<br>index 5785441..a8f2c8d 100644<br>--- a/funcs/func_odbc.c<br>+++ b/funcs/func_odbc.c<br>@@ -793,6 +793,7 @@<br>           if (!(resultset = ast_calloc(1, sizeof(*resultset)))) {<br>                       pbx_builtin_setvar_helper(chan, "ODBCROWS", rowcount);<br>                      pbx_builtin_setvar_helper(chan, "ODBCSTATUS", status);<br>+                     AST_RWLIST_UNLOCK(&queries);<br>                      ast_autoservice_stop(chan);<br>                   return -1;<br>            }<br>@@ -809,6 +810,7 @@<br>                        if (!(resultset = ast_calloc(1, sizeof(*resultset)))) {<br>                               pbx_builtin_setvar_helper(chan, "ODBCROWS", rowcount);<br>                              pbx_builtin_setvar_helper(chan, "ODBCSTATUS", status);<br>+                             AST_RWLIST_UNLOCK(&queries);<br>                              ast_autoservice_stop(chan);<br>                           return -1;<br>                    }<br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/7795">change 7795</a>. To unsubscribe, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/7795"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 13 </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I828329ecbd252ae8f27a369a046d2b03102b07c6 </div>
<div style="display:none"> Gerrit-Change-Number: 7795 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Corey Farrell <git@cfware.com> </div>