mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	jack: free the global map when the client is closed
This commit is contained in:
		
							parent
							
								
									fa1350b0cf
								
							
						
					
					
						commit
						53024c1747
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -2734,6 +2734,7 @@ int jack_client_close (jack_client_t *client)
 | 
				
			||||||
	pw_thread_loop_destroy(c->context.loop);
 | 
						pw_thread_loop_destroy(c->context.loop);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	pw_log_debug(NAME" %p: free", client);
 | 
						pw_log_debug(NAME" %p: free", client);
 | 
				
			||||||
 | 
						pw_map_clear(&c->context.globals);
 | 
				
			||||||
	pthread_mutex_destroy(&c->context.lock);
 | 
						pthread_mutex_destroy(&c->context.lock);
 | 
				
			||||||
	pw_properties_free(c->props);
 | 
						pw_properties_free(c->props);
 | 
				
			||||||
	free(c);
 | 
						free(c);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue