Module: kamailio
Branch: master
Commit: 667e181a4cc5bf88daac59f9d0e8127bc5313644
URL:
https://github.com/kamailio/kamailio/commit/667e181a4cc5bf88daac59f9d0e8127…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-09-16T00:52:15+02:00
mem: f_malloc summary function for mememory degging off mode
---
Modified: mem/f_malloc.c
---
Diff:
https://github.com/kamailio/kamailio/commit/667e181a4cc5bf88daac59f9d0e8127…
Patch:
https://github.com/kamailio/kamailio/commit/667e181a4cc5bf88daac59f9d0e8127…
---
diff --git a/mem/f_malloc.c b/mem/f_malloc.c
index bda7f48..90efda2 100644
--- a/mem/f_malloc.c
+++ b/mem/f_malloc.c
@@ -948,9 +948,11 @@ void fm_sums(void* qmp)
void fm_sums(void* qmp)
{
struct fm_block* qm;
+ int memlog;
qm = (struct fm_block*)qmp;
- LOG_(DEFAULT_FACILITY, memlog, "fm_sums not available (%p)\n", qm);
+ memlog=cfg_get(core, core_cfg, memlog);
+ LOG_(DEFAULT_FACILITY, memlog, "fm_sums: ", "not available (%p)\n",
qm);
return;
}
#endif /* DBG_F_MALLOC */