gdkwindow: Don't leak the surface in gdk_cairo_create()
This commit is contained in:
		
				
					committed by
					
						
						Jasper St. Pierre
					
				
			
			
				
	
			
			
			
						parent
						
							7119037743
						
					
				
				
					commit
					de071768ae
				
			@ -3058,6 +3058,8 @@ gdk_cairo_create (GdkWindow *window)
 | 
			
		||||
  cairo_region_destroy (region);
 | 
			
		||||
  cairo_clip (cr);
 | 
			
		||||
 | 
			
		||||
  cairo_surface_destroy (surface);
 | 
			
		||||
 | 
			
		||||
  return cr;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user