<p>George Joseph <strong>uploaded patch set #3</strong> to this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/13539">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">stasis.c:  Use correct topic name in stasis_topic_pool_delete_topic<br><br>When a topic is created for an object, its name is only<br><object>:<uniqueid><br>For example:<br>bridge:cb68b3a8-fce7-4738-8a17-d7847562f020<br><br>When a topic is added to a pool, its name has the pool's topic<br>name prepended.  For example:<br>bridge:all/bridge:cb68b3a8-fce7-4738-8a17-d7847562f020<br><br>The topic_pool_entry's name however, is only what was passed<br>in to stasis_topic_pool_get_topic which is<br>bridge:cb68b3a8-fce7-4738-8a17-d7847562f020<br>That's actually correct because the entry is qualified by the<br>pool that's in.<br><br>When you're ready to delete the entry from the pool, you retrieve<br>the tropic name from the object but since it now has the pool's<br>topic name prepended, it won't be found in the pool container.<br><br>Fix:<br><br>* Modified stasis_topic_pool_delete_topic() to skip past the<br>pool topic's name, if it was prepended to the topic name,<br>before searching the container for a pool entry.<br><br>ASTERISK-28633<br>Reported by: Joeran Vinzens<br><br>Change-Id: I4396aa69dd83e4ab84c5b91b39293cfdbcf483e6<br>---<br>M include/asterisk/stasis.h<br>M main/stasis.c<br>2 files changed, 18 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/39/13539/3</pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/13539">change 13539</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/+/13539"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I4396aa69dd83e4ab84c5b91b39293cfdbcf483e6 </div>
<div style="display:none"> Gerrit-Change-Number: 13539 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: Sean Bright <sean.bright@gmail.com> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>