Le 24/06/2014 03:03, Jasper St. Pierre a écrit : > Thanks, I managed to reproduce the issue with this. It only happens with > thumbnails visible, though, which suggests that evince is doing > something funny for the thumbnails view. I'll also check out Scintilla > later.
OK, it's fairly obvious after looking at the diff: there's a missing cairo_surface_destroy() in the new version of gdk_cairo_create(), hence the surface will probably be leaked and God knows what happens on the server side. Patch attached. Regards, Colomban
>From fe2dfe2d85163ac6e04c212402836cd75609948e Mon Sep 17 00:00:00 2001 From: Colomban Wendling <b...@herbesfolles.org> Date: Tue, 24 Jun 2014 03:37:59 +0200 Subject: [PATCH] Don't leak the surface in gdk_cairo_create() --- gdk/gdkwindow.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c index 4e4ec98..68a75df 100644 --- a/gdk/gdkwindow.c +++ b/gdk/gdkwindow.c @@ -3058,6 +3058,8 @@ gdk_cairo_create (GdkWindow *window) cairo_region_destroy (region); cairo_clip (cr); + cairo_surface_destroy (surface); + return cr; } -- 2.0.0
_______________________________________________ gtk-devel-list mailing list gtk-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-devel-list