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 636819 - TreeSortable SET_SORT_FUNC memory leak
TreeSortable SET_SORT_FUNC memory leak
Status: RESOLVED FIXED
Product: gnome-perl
Classification: Bindings
Component: Gtk2
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk2-perl-bugs
gtk2-perl-bugs
Depends on:
Blocks:
 
 
Reported: 2010-12-08 22:07 UTC by Kevin Ryde
Modified: 2011-10-03 15:13 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
leaking program (304 bytes, text/x-perl)
2010-12-08 22:07 UTC, Kevin Ryde
Details

Description Kevin Ryde 2010-12-08 22:07:18 UTC
Created attachment 176104 [details]
leaking program

As mentioned on the mailing list, the way GtkTreeSortable.xs wrangles the C callback func to SET_SORT_FUNC() seems to leak memory.  The program attached uses ever more memory.

I suppose the newCONSTSUB using a name based on the pointer addr makes a permanent addition to the symbol table.
Comment 1 Torsten Schoenfeld 2011-10-03 15:13:52 UTC
Should now be fixed in git master.