<p>Jenkins2 <strong>merged</strong> this change.</p><p><a href="https://gerrit.asterisk.org/7597">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 0edabb8..e2b2e1b 100644<br>--- a/res/res_smdi.c<br>+++ b/res/res_smdi.c<br>@@ -1377,6 +1377,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_SELF);<br>+<br>  return AST_MODULE_LOAD_SUCCESS;<br> }<br> <br>@@ -1405,9 +1408,6 @@<br>         }<br> <br>  smdi_loaded = 0;<br>-<br>-  /* For Optional API. */<br>-      ast_module_shutdown_ref(AST_MODULE_SELF);<br> <br>  return 0;<br> }<br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/7597">change 7597</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/7597"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 15 </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: 7597 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </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>