This patch seems to fix the cairo_t leak. --- pygobject-3.10.2/gi/pygi-foreign-cairo.c~ 2014-12-18 16:56:02.351351606 +0000 +++ pygobject-3.10.2/gi/pygi-foreign-cairo.c 2014-12-18 16:56:02.351351606 +0000 @@ -60,8 +60,6 @@ { cairo_t *context = (cairo_t*) data; - cairo_reference (context); - return PycairoContext_FromContext (context, &PycairoContext_Type, NULL); }
Please review and I'll post into the bug tracker. Barry _______________________________________________ python-hackers-list mailing list python-hackers-list@gnome.org https://mail.gnome.org/mailman/listinfo/python-hackers-list