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 71021 - Make PyGTK leakless
Make PyGTK leakless
Status: RESOLVED FIXED
Product: gnome-python
Classification: Deprecated
Component: general
1.99.x
Other other
: Normal normal
: ---
Assigned To: Python bindings maintainers
Python bindings maintainers
Depends on: 71435 91244
Blocks:
 
 
Reported: 2002-02-09 15:08 UTC by Johan (not receiving bugmail) Dahlin
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Simple script to check leaks, linux only (735 bytes, text/plain)
2002-02-09 15:09 UTC, Johan (not receiving bugmail) Dahlin
  Details
Fixes a small reference leak in the get_property/set_property methods (1.17 KB, patch)
2002-07-18 09:01 UTC, Arjan J. Molenaar
none Details | Review
Here signals and properties are unreffed to much. The dictionary returns a borrowed reference, so they shouldn't be unreffed. (805 bytes, patch)
2002-08-20 10:03 UTC, Arjan J. Molenaar
none Details | Review

Description Johan (not receiving bugmail) Dahlin 2002-02-09 15:08:14 UTC
PyGTK leaks quite a bit.

This is a metabug for solving all leaks
Comment 1 Johan (not receiving bugmail) Dahlin 2002-02-09 15:09:48 UTC
Created attachment 6663 [details]
Simple script to check leaks, linux only
Comment 2 James Henstridge 2002-02-12 08:04:20 UTC
Should check if memprof works okay for 2.0 apps, as it would give much
more detailed information.  Looking at the size of the VM map is a
very crude way of looking for leaks.
Comment 3 Arjan J. Molenaar 2002-07-18 09:01:24 UTC
Created attachment 9941 [details] [review]
Fixes a small reference leak in the get_property/set_property methods
Comment 4 James Henstridge 2002-08-18 04:15:11 UTC
applied Arjan's patch.  Please don't attach random memory leak patches
to this bug though.  Instead, file separate bugs (I had almost
overlooked this one).
Comment 5 Arjan J. Molenaar 2002-08-20 10:03:04 UTC
Created attachment 10596 [details] [review]
Here signals and properties are unreffed to much. The dictionary returns a borrowed reference, so they shouldn't be unreffed.
Comment 6 Johan (not receiving bugmail) Dahlin 2002-08-20 10:26:28 UTC
Moved the last attachment to bug 91244

Arjan, in the future, please _don't_ add any more patches to this bug.
File separate bugs instead.
Comment 7 James Henstridge 2002-11-20 13:41:59 UTC
mass reassign of open pygtk and gnome-python bugs.
Comment 8 Johan (not receiving bugmail) Dahlin 2003-01-24 01:57:56 UTC
Meta bugs are not very useful, since we have very few open bugs.
It's better to consider everything leakless (or bug free). And then
fix bugs as new bug reports get filed.

Closing.