mirror of
				https://gitlab.freedesktop.org/wayland/wayland.git
				synced 2025-11-03 09:01:42 -05:00 
			
		
		
		
	server: Release additional_shm_formats array at display destruction
This commit is contained in:
		
							parent
							
								
									6dd0ba0e32
								
							
						
					
					
						commit
						f26a322327
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -746,6 +746,8 @@ wl_display_destroy(struct wl_display *display)
 | 
			
		|||
	wl_list_for_each_safe(global, gnext, &display->global_list, link)
 | 
			
		||||
		free(global);
 | 
			
		||||
 | 
			
		||||
	wl_array_release(&display->additional_shm_formats);
 | 
			
		||||
 | 
			
		||||
	free(display);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue