<p>Jenkins2 <strong>merged</strong> this change.</p><p><a href="https://gerrit.asterisk.org/7598">View Change</a></p><div style="white-space:pre-wrap">Approvals:
George Joseph: Looks good to me, approved
Jenkins2: Approved for Submit
</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">res_smdi: Fix shutdown ref.<br><br>When adding shutdown refs for OPTIONAL_API components I accidentally<br>added it to the unload_module function in res_smdi. Move it to<br>load_module.<br><br>Change-Id: I2b9da38fbc11ef78ea23dbb2df92b684be7f647c<br>---<br>M res/res_smdi.c<br>1 file changed, 3 insertions(+), 3 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/res/res_smdi.c b/res/res_smdi.c<br>index 7b4c42b..49d10cc 100644<br>--- a/res/res_smdi.c<br>+++ b/res/res_smdi.c<br>@@ -1379,6 +1379,9 @@<br> ast_custom_function_register(&smdi_msg_retrieve_function);<br> ast_custom_function_register(&smdi_msg_function);<br> <br>+ /* For Optional API. */<br>+ ast_module_shutdown_ref(ast_module_info->self);<br>+<br> return AST_MODULE_LOAD_SUCCESS;<br> }<br> <br>@@ -1407,9 +1410,6 @@<br> }<br> <br> smdi_loaded = 0;<br>-<br>- /* For Optional API. */<br>- ast_module_shutdown_ref(ast_module_info->self);<br> <br> return 0;<br> }<br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/7598">change 7598</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/7598"/><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: merged </div>
<div style="display:none"> Gerrit-Change-Id: I2b9da38fbc11ef78ea23dbb2df92b684be7f647c </div>
<div style="display:none"> Gerrit-Change-Number: 7598 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Corey Farrell <git@cfware.com> </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 </div>