mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-10-29 05:40:23 -04:00 
			
		
		
		
	combine: Fix crash in output freeing
The outputs are removed from the idxset before output_free() is
called. Trying to remove them again in output_free(), and asserting
that it should succeed caused crashing whenever outputs were freed.
This bug was introduced in commit
061878b5a4.
BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=65901
			
			
This commit is contained in:
		
							parent
							
								
									e1e154c737
								
							
						
					
					
						commit
						0e9baa429e
					
				
					 1 changed files with 0 additions and 2 deletions
				
			
		|  | @ -923,8 +923,6 @@ static void output_free(struct output *o) { | |||
|     pa_assert(o); | ||||
| 
 | ||||
|     output_disable(o); | ||||
| 
 | ||||
|     pa_assert_se(pa_idxset_remove_by_data(o->userdata->outputs, o, NULL)); | ||||
|     update_description(o->userdata); | ||||
| 
 | ||||
|     if (o->inq_rtpoll_item_read) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Tanu Kaskinen
						Tanu Kaskinen