<p>There were a memory leak present in the xavp_clone_level_nodata function. From a look to the code it looks that it was used also in the registrar lookup function if the xavp_rcd parameter was set.<br>
This was fixed in <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/kamailio/kamailio/commit/0c93efec739551f3e74e119d4b789d0bb6e766d6/hovercard" href="https://github.com/kamailio/kamailio/commit/0c93efec739551f3e74e119d4b789d0bb6e766d6"><tt>0c93efe</tt></a> and also backported to 5.2 and 5.1 branch. This fix is included in 5.2.4, which matches the comment from <a class="user-mention" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=6991959" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sebra">@sebra</a>.</p>
<p>Close this issue, if you still see it please re-open.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/1834?email_source=notifications&email_token=ABO7UZJGEXN2MWNPUHLDN73QLHEU7A5CNFSM4GUEBADKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7NQUWA#issuecomment-534448728">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZKDTY7GOCJM2IFXTNLQLHEU7ANCNFSM4GUEBADA">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABO7UZMMCVFSJ3D7IWHC2JDQLHEU7A5CNFSM4GUEBADKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7NQUWA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/1834?email_source=notifications\u0026email_token=ABO7UZJGEXN2MWNPUHLDN73QLHEU7A5CNFSM4GUEBADKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7NQUWA#issuecomment-534448728",
"url": "https://github.com/kamailio/kamailio/issues/1834?email_source=notifications\u0026email_token=ABO7UZJGEXN2MWNPUHLDN73QLHEU7A5CNFSM4GUEBADKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7NQUWA#issuecomment-534448728",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>