mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	pipewire: module-rt: destroy mutex and condition variable
This commit is contained in:
		
							parent
							
								
									0923e12fa3
								
							
						
					
					
						commit
						a55561dcba
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
					@ -482,6 +482,9 @@ static void module_destroy(void *data)
 | 
				
			||||||
		pw_thread_loop_destroy(impl->thread_loop);
 | 
							pw_thread_loop_destroy(impl->thread_loop);
 | 
				
			||||||
	if (impl->rtkit_bus)
 | 
						if (impl->rtkit_bus)
 | 
				
			||||||
		pw_rtkit_bus_free(impl->rtkit_bus);
 | 
							pw_rtkit_bus_free(impl->rtkit_bus);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						pthread_cond_destroy(&impl->cond);
 | 
				
			||||||
 | 
						pthread_mutex_destroy(&impl->lock);
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	free(impl);
 | 
						free(impl);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue