<p></p>
<h3>Description</h3>
<p>tr_init_buffers() does malloc 512kb and this memory is never freed</p>
<p><a href="https://github.com/kamailio/kamailio/blob/master/src/modules/pv/pv_trans.c#L78">https://github.com/kamailio/kamailio/blob/master/src/modules/pv/pv_trans.c#L78</a></p>
<p>Compare with kazoo which does have <code>kz_tr_clear_buffers()</code><br>
<a href="https://github.com/kamailio/kamailio/blob/master/src/modules/kazoo/kz_trans.c#L105">https://github.com/kamailio/kamailio/blob/master/src/modules/kazoo/kz_trans.c#L105</a></p>
<p>Nothing like that in the pv mod.</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/2776">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZMJI3GEFJ5PCADUO63TSDECPANCNFSM46OUX46A">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZMHBX5VSDAHQSUT43DTSDECPA5CNFSM46OUX46KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4NVOUBBQ.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/2776",
"url": "https://github.com/kamailio/kamailio/issues/2776",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>