xwayland: Remove the output from the list after destroying it
[Marek Chalupa]: rebased to master Signed-off-by: Dima Ryazanov <dima@gmail.com>
This commit is contained in:
		
							parent
							
								
									550984c95e
								
							
						
					
					
						commit
						95014ad2a7
					
				| 
						 | 
				
			
			@ -185,6 +185,7 @@ void
 | 
			
		|||
xwl_output_destroy(struct xwl_output *xwl_output)
 | 
			
		||||
{
 | 
			
		||||
    wl_output_destroy(xwl_output->output);
 | 
			
		||||
    xorg_list_del(&xwl_output->link);
 | 
			
		||||
    free(xwl_output);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue