Found the leak with `valgrind`. Added as a second commit. Going to run in production for a few days and see if memory stays stable.
--- 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/pull/724#issuecomment-234955856