<p>Friendly Automation <strong>merged</strong> this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/12899">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  George Joseph: Looks good to me, but someone else must approve
  Benjamin Keith Ford: Looks good to me, but someone else must approve
  Kevin Harwell: Looks good to me, approved
  Friendly Automation: Approved for Submit

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">app_voicemail: Fix module unload leak.<br><br>Change-Id: Ib9a06565b9a178822d3bbb67eccf51432e12d84a<br>---<br>M apps/app_voicemail.c<br>1 file changed, 7 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c</span><br><span>index a51c3c7..1134ccd 100644</span><br><span>--- a/apps/app_voicemail.c</span><br><span>+++ b/apps/app_voicemail.c</span><br><span>@@ -15269,6 +15269,11 @@</span><br><span> #endif</span><br><span>      ao2_ref(inprocess_container, -1);</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+ ao2_container_unregister("voicemail_alias_mailbox_mappings");</span><br><span style="color: hsl(120, 100%, 40%);">+       ao2_cleanup(alias_mailbox_mappings);</span><br><span style="color: hsl(120, 100%, 40%);">+  ao2_container_unregister("voicemail_mailbox_alias_mappings");</span><br><span style="color: hsl(120, 100%, 40%);">+       ao2_cleanup(mailbox_alias_mappings);</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span>       if (poll_thread != AST_PTHREADT_NULL)</span><br><span>                stop_poll_thread();</span><br><span> </span><br><span>@@ -15340,6 +15345,7 @@</span><br><span>    if (!mailbox_alias_mappings) {</span><br><span>               ast_log(LOG_ERROR, "Unable to create mailbox_alias_mappings container\n");</span><br><span>                 ao2_cleanup(inprocess_container);</span><br><span style="color: hsl(120, 100%, 40%);">+             ao2_container_unregister("voicemail_alias_mailbox_mappings");</span><br><span>              ao2_cleanup(alias_mailbox_mappings);</span><br><span>                 return AST_MODULE_LOAD_DECLINE;</span><br><span>      }</span><br><span>@@ -15347,6 +15353,7 @@</span><br><span>  if (res) {</span><br><span>           ast_log(LOG_ERROR, "Unable to register mailbox_alias_mappings container\n");</span><br><span>               ao2_cleanup(inprocess_container);</span><br><span style="color: hsl(120, 100%, 40%);">+             ao2_container_unregister("voicemail_alias_mailbox_mappings");</span><br><span>              ao2_cleanup(alias_mailbox_mappings);</span><br><span>                 ao2_cleanup(mailbox_alias_mappings);</span><br><span>                 return AST_MODULE_LOAD_DECLINE;</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/12899">change 12899</a>. To unsubscribe, or for help writing mail filters, 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/c/asterisk/+/12899"/><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-Change-Id: Ib9a06565b9a178822d3bbb67eccf51432e12d84a </div>
<div style="display:none"> Gerrit-Change-Number: 12899 </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: Benjamin Keith Ford <bford@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Kevin Harwell <kharwell@digium.com> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>