[sr-dev] git:master: mem/f_malloc.c: downgraded print free(0) warning from LOG to MDBG.
admin at sip-router.org
admin at sip-router.org
Wed Oct 3 08:30:11 CEST 2012
Module: sip-router
Branch: master
Commit: 7b6234a3e8d0427c767942327aff57ade676eb5e
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=7b6234a3e8d0427c767942327aff57ade676eb5e
Author: Juha Heinanen <jh at tutpro.com>
Committer: Juha Heinanen <jh at tutpro.com>
Date: Wed Oct 3 09:27:38 2012 +0300
mem/f_malloc.c: downgraded print free(0) warning from LOG to MDBG.
---
mem/f_malloc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/mem/f_malloc.c b/mem/f_malloc.c
index e9cbc0b..0349585 100644
--- a/mem/f_malloc.c
+++ b/mem/f_malloc.c
@@ -509,7 +509,7 @@ void fm_free(struct fm_block* qm, void* p)
MDBG("fm_free(%p, %p), called from %s: %s(%d)\n", qm, p, file, func, line);
#endif
if (p==0) {
- LOG(L_WARN, "WARNING:fm_free: free(0) called\n");
+ MDBG(L_WARN, "WARNING:fm_free: free(0) called\n");
return;
}
#ifdef DBG_F_MALLOC
More information about the sr-dev
mailing list