mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	context: free objects map in destroy()
This commit is contained in:
		
							parent
							
								
									df86fcec10
								
							
						
					
					
						commit
						dda5a22fcd
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
					@ -562,6 +562,8 @@ pinos_context_destroy (PinosContext *context)
 | 
				
			||||||
  spa_list_for_each_safe (proxy, t2, &context->proxy_list, link)
 | 
					  spa_list_for_each_safe (proxy, t2, &context->proxy_list, link)
 | 
				
			||||||
    pinos_proxy_destroy (proxy);
 | 
					    pinos_proxy_destroy (proxy);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  pinos_map_clear (&context->objects);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  free (context->name);
 | 
					  free (context->name);
 | 
				
			||||||
  if (context->properties)
 | 
					  if (context->properties)
 | 
				
			||||||
    pinos_properties_free (context->properties);
 | 
					    pinos_properties_free (context->properties);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue