mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	bluetooth: don't crash on pa_thread_mq_done() if pa_init() fail
This commit is contained in:
		
							parent
							
								
									b51e6135e8
								
							
						
					
					
						commit
						b4c391ee5e
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -1517,9 +1517,9 @@ static void stop_thread(struct userdata *u) {
 | 
			
		|||
        u->source = NULL;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    if (u->rtpoll) {
 | 
			
		||||
        pa_thread_mq_done(&u->thread_mq);
 | 
			
		||||
 | 
			
		||||
    if (u->rtpoll) {
 | 
			
		||||
        pa_rtpoll_free(u->rtpoll);
 | 
			
		||||
        u->rtpoll = NULL;
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue