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 636822 - CellLayout SET_CELL_DATA_FUNC memory leak
CellLayout SET_CELL_DATA_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:21 UTC by Kevin Ryde
Modified: 2011-10-03 15:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (2.32 KB, patch)
2010-12-08 22:21 UTC, Kevin Ryde
none Details | Review
leaking program (349 bytes, text/x-perl)
2010-12-08 22:22 UTC, Kevin Ryde
  Details

Description Kevin Ryde 2010-12-08 22:21:43 UTC
Created attachment 176105 [details] [review]
patch

As mentioned on the mailing list, the way GtkCellLayout.xs wrangles the C
callback func to SET_CELL_DATA_FUNC() seems to leak memory.  The program attached
uses ever more memory.  Perhaps a note for the docs for now, and a todo test case.
Comment 1 Kevin Ryde 2010-12-08 22:22:16 UTC
Created attachment 176106 [details]
leaking program
Comment 2 Torsten Schoenfeld 2011-10-03 15:14:08 UTC
Should now be fixed in git master.