<p>In modules/presence_dialoginfo/notify_body.c:</p>
<pre style='color:#555'>&gt; @@ -444,10 +429,6 @@ str* build_dialoginfo(str* pres_user, str* pres_domain)
&gt;          xmlCleanupParser();
&gt;          return body;
&gt;  error:
&gt; -        if ( pres_uri )
&gt; -        {
&gt; -                pkg_free(pres_uri);
</pre>
<p>Here it was freed, but it wasn't when the function returned succesfully.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href='https://github.com/OpenSIPS/opensips/pull/177/files#r10510217'>view it on GitHub</a>.<img src='https://github.com/notifications/beacon/5479561__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcxMDIzNTkzOCwiZGF0YSI6eyJpZCI6Mjc0OTgxNDZ9fQ==--c2e8510688aaa385a8fd563f679d4b6f62b3359d.gif' height='1' width='1'></p>