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 or view it on GitHub:
https://github.com/kamailio/kamailio/pull/4023#issuecomment-2476431323
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/4023/c2476431323(a)github.com>