mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-11-03 20:38:59 +00:00 
			
		
		
		
	More RSW merges. This should do it for the channels/ dir.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@136917 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		@@ -334,12 +334,12 @@ static void drop_translator(int dst, int src)
 | 
			
		||||
 | 
			
		||||
static void unregister_translators(void)
 | 
			
		||||
{
 | 
			
		||||
	struct translator *cur;
 | 
			
		||||
	struct translator *current;
 | 
			
		||||
 | 
			
		||||
	AST_LIST_LOCK(&translators);
 | 
			
		||||
	while ((cur = AST_LIST_REMOVE_HEAD(&translators, entry))) {
 | 
			
		||||
		ast_unregister_translator(&cur->t);
 | 
			
		||||
		ast_free(cur);
 | 
			
		||||
	while ((current = AST_LIST_REMOVE_HEAD(&translators, entry))) {
 | 
			
		||||
		ast_unregister_translator(¤t->t);
 | 
			
		||||
		ast_free(current);
 | 
			
		||||
	}
 | 
			
		||||
	AST_LIST_UNLOCK(&translators);
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user