mirror of
				https://gitlab.freedesktop.org/wayland/wayland.git
				synced 2025-11-03 09:01:42 -05:00 
			
		
		
		
	clients/view: Fix memory leak
This commit is contained in:
		
							parent
							
								
									6685aceae3
								
							
						
					
					
						commit
						80bf6f78e4
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -101,6 +101,7 @@ view_draw(struct view *view)
 | 
			
		|||
	cairo_fill(cr);
 | 
			
		||||
	poppler_page_render(page, cr);
 | 
			
		||||
	cairo_destroy(cr);
 | 
			
		||||
	cairo_surface_destroy(surface);
 | 
			
		||||
	g_object_unref(G_OBJECT(page));
 | 
			
		||||
	window_flush(view->window);
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue