After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 638847 - memory leaks when handling closures and enums
memory leaks when handling closures and enums
Status: RESOLVED FIXED
Product: pygobject
Classification: Bindings
Component: introspection
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
Depends on:
Blocks:
 
 
Reported: 2011-01-06 17:44 UTC by Mike Gorse
Modified: 2011-01-07 09:08 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch. (1.25 KB, patch)
2011-01-06 17:46 UTC, Mike Gorse
committed Details | Review

Description Mike Gorse 2011-01-06 17:44:28 UTC
When handling closures, an array of arguments is generated.  The data from this array is copied, and the array is never freed.  Also, when handling enums, a structure is generated but not freed.
Comment 1 Mike Gorse 2011-01-06 17:46:07 UTC
Created attachment 177678 [details] [review]
Patch.
Comment 2 Tomeu Vizoso 2011-01-07 09:08:00 UTC
Pushed, thanks. Please follow the instructions in the link below next time:

http://live.gnome.org/Git/Developers#Contributing_patches