Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 334424 Details for
Bug 450246
dev-python/pygtk-2.24.0 - memory leak in _wrap_pango_cairo_create_layout
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to fix this
pygtk-2.24.0-fix-create-layout-unref.patch (text/plain), 672 bytes, created by
Aten Zhang
on 2013-01-04 14:49:33 UTC
(
hide
)
Description:
patch to fix this
Filename:
MIME Type:
Creator:
Aten Zhang
Created:
2013-01-04 14:49:33 UTC
Size:
672 bytes
patch
obsolete
>Index: pygtk-2.24.0/pangocairo.override >=================================================================== >--- pygtk-2.24.0.orig/pangocairo.override 2012-04-14 01:40:59.568703232 +0800 >+++ pygtk-2.24.0/pangocairo.override 2012-04-14 01:41:05.792703324 +0800 >@@ -119,10 +119,15 @@ > _wrap_pango_cairo_create_layout(PyGObject *self) > { > PangoLayout *ret; >+ PyObject *py_ret; > > ret = pango_cairo_create_layout(PycairoContext_GET(self)); > /* pygobject_new handles NULL checking */ >- return pygobject_new((GObject *)ret); >+ py_ret = pygobject_new((GObject *) ret); >+ if (ret) { >+ g_object_unref(ret); >+ } >+ return py_ret; > } > > static PyObject *
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 450246
: 334424