Skip to content

Commit

Permalink
mem/q_malloc: updates to use new api names for module stats
Browse files Browse the repository at this point in the history
(cherry picked from commit 8f2864b)
  • Loading branch information
miconda committed Mar 28, 2016
1 parent d39d166 commit cb2c14f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions mem/q_malloc.c
Expand Up @@ -1032,8 +1032,8 @@ int qm_malloc_init_pkg_manager(void)
ma.xavailable = qm_available;
ma.xsums = qm_sums;
ma.xdestroy = qm_malloc_destroy_pkg_manager;
ma.xstats = qm_mod_get_stats;
ma.xfstats = qm_mod_free_stats;
ma.xmodstats = qm_mod_get_stats;
ma.xfmodstats = qm_mod_free_stats;

return pkg_init_api(&ma);
}
Expand Down Expand Up @@ -1183,8 +1183,8 @@ int qm_malloc_init_shm_manager(void)
ma.xavailable = qm_shm_available;
ma.xsums = qm_shm_sums;
ma.xdestroy = qm_malloc_destroy_shm_manager;
ma.xstats = qm_mod_get_stats;
ma.xfstats = qm_mod_free_stats;
ma.xmodstats = qm_mod_get_stats;
ma.xfmodstats = qm_mod_free_stats;

if(shm_init_api(&ma)<0) {
LM_ERR("cannot initialize the core shm api\n");
Expand Down

0 comments on commit cb2c14f

Please sign in to comment.