<p>Kevin Harwell <strong>merged</strong> this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/12900">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; 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 a7cf8de..4520752 100644</span><br><span>--- a/apps/app_voicemail.c</span><br><span>+++ b/apps/app_voicemail.c</span><br><span>@@ -15318,6 +15318,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>@@ -15389,6 +15394,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>@@ -15396,6 +15402,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/+/12900">change 12900</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/+/12900"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 16 </div>
<div style="display:none"> Gerrit-Change-Id: Ib9a06565b9a178822d3bbb67eccf51432e12d84a </div>
<div style="display:none"> Gerrit-Change-Number: 12900 </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>