> +}
> +
> +int alloc_group_stat(void) {
> +     int size_prealoc, j, one_full_entry, groups;
> +     char *start;
> +     struct module_info* new_stats_vec;
> +#ifndef SHM_SHOW_DEFAULT_GROUP
> +     groups = mem_free_idx - 1;
> +#else
> +     groups = mem_free_idx;
> +#endif
> +
> +     one_full_entry = 3 * (sizeof(stat_var) + sizeof(stat_val));
> +     size_prealoc = groups * sizeof(struct module_info) + groups * 
> one_full_entry;
> +
> +#ifndef DBG_QM_MALLOC

I think this flag is obsolete. Please check if this flag is still present in 
the latest version.

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/pull/724/files#r53798507
_______________________________________________
Devel mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Reply via email to