mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	rootston/output: fix leak in damage_from_surface
This commit is contained in:
		
							parent
							
								
									de955a0f63
								
							
						
					
					
						commit
						d9a3c66942
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -680,6 +680,7 @@ static void damage_from_surface(struct wlr_surface *surface,
 | 
			
		|||
		}
 | 
			
		||||
		pixman_region32_translate(&damage, box.x, box.y);
 | 
			
		||||
		wlr_output_damage_add(output->damage, &damage);
 | 
			
		||||
		pixman_region32_fini(&damage);
 | 
			
		||||
	} else {
 | 
			
		||||
		pixman_box32_t *extents =
 | 
			
		||||
			pixman_region32_extents(&surface->current->surface_damage);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue