[svn-commits] sgriepentrog: trunk r418488 - /trunk/include/asterisk/astobj2.h

SVN commits to the Digium repositories svn-commits at lists.digium.com
Sun Jul 13 15:08:41 CDT 2014


Author: sgriepentrog
Date: Sun Jul 13 15:08:37 2014
New Revision: 418488

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=418488
Log:
astobj2: correct define for ao2_t_cleanup

This change maps the ao2_t_cleanup() function to the
correct debug function so that it can be used.

Review: https://reviewboard.asterisk.org/r/3764/


Modified:
    trunk/include/asterisk/astobj2.h

Modified: trunk/include/asterisk/astobj2.h
URL: http://svnview.digium.com/svn/asterisk/trunk/include/asterisk/astobj2.h?view=diff&rev=418488&r1=418487&r2=418488
==============================================================================
--- trunk/include/asterisk/astobj2.h (original)
+++ trunk/include/asterisk/astobj2.h Sun Jul 13 15:08:37 2014
@@ -1972,7 +1972,7 @@
 void __ao2_cleanup_debug(void *obj, const char *tag, const char *file, int line, const char *function);
 #ifdef REF_DEBUG
 #define ao2_cleanup(obj) __ao2_cleanup_debug((obj), "", __FILE__, __LINE__, __PRETTY_FUNCTION__)
-#define ao2_t_cleanup(obj, tag) __ao2_t_cleanup_debug((obj), (tag), __FILE__, __LINE__, __PRETTY_FUNCTION__)
+#define ao2_t_cleanup(obj, tag) __ao2_cleanup_debug((obj), (tag), __FILE__, __LINE__, __PRETTY_FUNCTION__)
 #else
 #define ao2_cleanup(obj) __ao2_cleanup(obj)
 #define ao2_t_cleanup(obj, tag) __ao2_cleanup((obj))




More information about the svn-commits mailing list