mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	simple-protocol: don't hit an assert when we call connection_unlink() early
This commit is contained in:
		
							parent
							
								
									0b2d96d6c0
								
							
						
					
					
						commit
						4cb6ea2d96
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -130,7 +130,7 @@ static void connection_unlink(connection *c) {
 | 
			
		|||
        c->io = NULL;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    pa_assert_se(pa_idxset_remove_by_data(c->protocol->connections, c, NULL) == c);
 | 
			
		||||
    pa_idxset_remove_by_data(c->protocol->connections, c, NULL);
 | 
			
		||||
    c->protocol = NULL;
 | 
			
		||||
    connection_unref(c);
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue