miconda left a comment (kamailio/kamailio#3950)
I pushed a commit that might fix the issues with event route not being executed. Somehow I doubt that all these cases were anyhow covered with execution of the event route before the previous commit for fixing the leak, as the structures were kept in forever, but it might get it overall good now. Tests have to be run with latest git master branch or the backported commit referenced above.