[asterisk-commits] kmoore: branch 11 r409567 - in /branches/11: ./ main/astobj2.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Mar 4 10:51:14 CST 2014
Author: kmoore
Date: Tue Mar 4 10:51:11 2014
New Revision: 409567
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=409567
Log:
AO2: Add an assert for bad objects
This adds an assert that will only be active if Asterisk is compiled
with DO_CRASH and allows the testsuite to fail tests that would
otherwise require log file parsing.
........
Merged revisions 409566 from http://svn.asterisk.org/svn/asterisk/branches/1.8
Modified:
branches/11/ (props changed)
branches/11/main/astobj2.c
Propchange: branches/11/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.
Modified: branches/11/main/astobj2.c
URL: http://svnview.digium.com/svn/asterisk/branches/11/main/astobj2.c?view=diff&rev=409567&r1=409566&r2=409567
==============================================================================
--- branches/11/main/astobj2.c (original)
+++ branches/11/main/astobj2.c Tue Mar 4 10:51:11 2014
@@ -157,6 +157,7 @@
"bad magic number for object %p. Object is likely destroyed.\n",
user_data);
}
+ ast_assert(0);
return NULL;
}
More information about the asterisk-commits
mailing list