<p>I pushed a patch to fix the leak -- it is in master branch <a href="https://github.com/kamailio/kamailio/commit/79459d3f87731309641794a2b881ee1cacc5e1f2" class="commit-link"><tt>79459d3</tt></a></p>

<p>If you test it and report it solves the leak, I will backport.</p>

<p>For the crash, not sure it is related, can you get the output in gdb for the next commands?</p>

<pre><code>frame 4
p *cmd
</code></pre>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/kamailio/kamailio/issues/296#issuecomment-134593966">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZaIuIywsURcb2AYuT9yFEYWY40kcks5orGusgaJpZM4Fw0dn.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/kamailio/kamailio/issues/296#issuecomment-134593966"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>