mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	Remove gamma_control->link from list in destroy
This commit is contained in:
		
							parent
							
								
									2ff94d0036
								
							
						
					
					
						commit
						87b5b268d1
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -15,6 +15,7 @@ static void gamma_control_destroy(struct wlr_gamma_control *gamma_control) {
 | 
			
		|||
	wl_signal_emit(&gamma_control->events.destroy, gamma_control);
 | 
			
		||||
	wl_list_remove(&gamma_control->output_destroy_listener.link);
 | 
			
		||||
	wl_resource_set_user_data(gamma_control->resource, NULL);
 | 
			
		||||
	wl_list_remove(&gamma_control->link);
 | 
			
		||||
	free(gamma_control);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue