mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	astobj2: Add backtrace to log_bad_ao2.
* Compile __ast_assert_failed unconditionally. * Use __ast_assert_failed to log messages from log_bad_ao2 * Remove calls to ast_assert(0) that happen after log_bad_ao2 was run. Change-Id: I48f1af44b2718ad74a421ff75cb6397b924a9751
This commit is contained in:
		| @@ -858,7 +858,9 @@ static void rb_ao2_node_destructor(void *v_doomed) | ||||
| 		 * same node. | ||||
| 		 */ | ||||
| 		my_container = (struct ao2_container_rbtree *) doomed->common.my_container; | ||||
| 		ast_assert(is_ao2_object(my_container)); | ||||
| #ifdef AST_DEVMODE | ||||
| 		is_ao2_object(my_container); | ||||
| #endif | ||||
|  | ||||
| 		__adjust_lock(my_container, AO2_LOCK_REQ_WRLOCK, 1); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user