@jchavanton commented on this pull request.
In src/modules/rtp_media_server/rms_media.c:
> + } + ms_factory_init_plugins(f); + ms_factory_enable_statistics(f, TRUE); + ms_factory_reset_statistics(f); + return f; +} + +int rms_media_init() +{ + OrtpMemoryFunctions ortp_memory_functions; + ortp_memory_functions.malloc_fun = ptr_shm_malloc; + ortp_memory_functions.realloc_fun = ptr_shm_realloc; + ortp_memory_functions.free_fun = ptr_shm_free; + ortp_set_memory_functions(&ortp_memory_functions); + ortp_init(); + vars = ortp_malloc(sizeof(shared_global_vars_t));
no good reason, ortp_malloc is using shm_malloc, I replaced the 2 occurrences with shm_malloc for clarity from Kamailio module context
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.