aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/astobj2.h
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-03-11 00:29:59 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-03-11 00:29:59 +0000
commita914fe05112d518c6abfbc042ae593386ff3d219 (patch)
treed9ce0c66f8edace25beb5e6d7b7032155aa9d5fc /include/asterisk/astobj2.h
parent78ae84644006651127e72a2b8a8e79a2b85a61db (diff)
Add MALLOC_DEBUG to various utility APIs, so that memory leaks can be tracked back to their source.
(related to issue #14636) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@181028 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/astobj2.h')
-rw-r--r--include/asterisk/astobj2.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asterisk/astobj2.h b/include/asterisk/astobj2.h
index c8a464ed7..fc46c2a2f 100644
--- a/include/asterisk/astobj2.h
+++ b/include/asterisk/astobj2.h
@@ -19,6 +19,10 @@
#include "asterisk/compat.h"
+#ifdef MALLOC_DEBUG
+#define REF_DEBUG
+#endif
+
/*! \file
* \ref AstObj2
*