Module: kamailio
Branch: master
Commit: 1eafbaf5b2d25879225b8e4c4797285dba2d460f
URL:
https://github.com/kamailio/kamailio/commit/1eafbaf5b2d25879225b8e4c4797285…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2016-03-27T14:24:00+02:00
mem/tlsf_malloc: updates to use new api names for module stats
---
Modified: mem/tlsf_malloc.c
---
Diff:
https://github.com/kamailio/kamailio/commit/1eafbaf5b2d25879225b8e4c4797285…
Patch:
https://github.com/kamailio/kamailio/commit/1eafbaf5b2d25879225b8e4c4797285…
---
diff --git a/mem/tlsf_malloc.c b/mem/tlsf_malloc.c
index 534b2e2..85afcff 100644
--- a/mem/tlsf_malloc.c
+++ b/mem/tlsf_malloc.c
@@ -1358,8 +1358,8 @@ int tlsf_malloc_init_pkg_manager(void)
ma.xavailable = tlsf_available;
ma.xsums = tlsf_sums;
ma.xdestroy = tlsf_malloc_destroy_pkg_manager;
- ma.xstats = tlsf_mod_get_stats;
- ma.xfstats = tlsf_mod_free_stats;
+ ma.xmodstats = tlsf_mod_get_stats;
+ ma.xfmodstats = tlsf_mod_free_stats;
return pkg_init_api(&ma);
}
@@ -1508,8 +1508,8 @@ int tlsf_malloc_init_shm_manager(void)
ma.xavailable = tlsf_shm_available;
ma.xsums = tlsf_shm_sums;
ma.xdestroy = tlsf_malloc_destroy_shm_manager;
- ma.xstats = tlsf_mod_get_stats;
- ma.xfstats = tlsf_mod_free_stats;
+ ma.xmodstats = tlsf_mod_get_stats;
+ ma.xfmodstats = tlsf_mod_free_stats;
if(shm_init_api(&ma)<0) {
LM_ERR("cannot initialize the core shm api\n");