Re: Memory leaks in cairo bindings
- From: Barry Scott <barry scott onelan co uk>
- To: python-hackers-list gnome org
- Subject: Re: Memory leaks in cairo bindings
- Date: Thu, 18 Dec 2014 17:13:16 +0000
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]