[sr-dev] [kamailio/kamailio] [pv] tr_init_buffers() does malloc but memory is never freed (#2776)

Andrey Volk notifications at github.com
Thu Jun 10 16:31:03 CEST 2021


### Description

tr_init_buffers() does malloc 512kb and this memory is never freed

https://github.com/kamailio/kamailio/blob/master/src/modules/pv/pv_trans.c#L78

Compare with kazoo which does have `kz_tr_clear_buffers()`
https://github.com/kamailio/kamailio/blob/master/src/modules/kazoo/kz_trans.c#L105

Nothing like that in the pv mod.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2776
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20210610/c5745c1e/attachment-0001.htm>


More information about the sr-dev mailing list