Memory leak in sanity module 'proxy require' check #1990
We noticed one of our kamailio instances using increasing amounts of pkg memory.
This appears to be related to the sanity-check module.
We can reproduce the issue by repeatedly sending the following SIP packet to kamailio.
The code to free the buffer could be duplicated before the return on sanity.c:701.
However, it's not clear to me why the
For now, we disabled the proxy require check with:
this mitigates the memory leak.
Problem still present in current master.