[sr-dev] [kamailio] Fix crash on applications memory reservation (#330)