The fixup result is in private memory, the clean up on signal/shut down is done only by main process, so it is rather useless, as the main process barely get the chance to execute config file. The fixup-free was mostly intended for dynamic use of the functions (e.g., from embedded interpreters, even before KEMI; or when the parameter is an expression).

Actually chunk-by-chunk cleaning at shut down, even for shared memory, can cause more troubles than benefits (e.g., a module cleans a structure that is referenced in another structure from another module). It is something I mentioned during past devel discussions and it is planned to be addressed also next week at Kamailio Devel Meeting.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/pull/4023/c2476431323@github.com>