]> Pileus Git - ~andy/gtk/blobdiff - gdk/gdkcairo.c
Plug leak in gdkcairo.c
[~andy/gtk] / gdk / gdkcairo.c
index 4e7c8ffcb154c9eb5902106752d1fb263821c898..563725ccff1600b6d546a333d43e58c9cb62f699 100644 (file)
@@ -380,6 +380,7 @@ _gdk_cairo_surface_extents (cairo_surface_t *surface,
 
   cr = cairo_create (surface);
   cairo_clip_extents (cr, &x1, &y1, &x2, &y2);
+  cairo_destroy (cr);
 
   x1 = floor (x1);
   y1 = floor (y1);