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 562682 - memory leak when using Gtk2::EntryCompletion->new
memory leak when using Gtk2::EntryCompletion->new
Status: RESOLVED FIXED
Product: gnome-perl
Classification: Bindings
Component: Gtk2
unspecified
Other All
: Normal normal
: ---
Assigned To: gtk2-perl-bugs
gtk2-perl-bugs
Depends on:
Blocks:
 
 
Reported: 2008-11-29 13:48 UTC by Quentin Sculo
Modified: 2008-12-16 19:37 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24



Description Quentin Sculo 2008-11-29 13:48:46 UTC
Please describe the problem:
memory usage grows when 

Steps to reproduce:
by running this :
perl -e 'use Gtk2 "-init"; Glib::Idle->add(sub { my $c=Gtk2::EntryCompletion->new}); Gtk2->main '

Actual results:
memory grows (as seen by top)

Expected results:
no memory growth

Does this happen every time?
yes

Other information:
tested with latest version (Gtk2-1.210)
Comment 1 Quentin Sculo 2008-11-29 13:55:34 UTC
Also, $completion->set_model doesn't accept undef to remove the model
Comment 2 Torsten Schoenfeld 2008-12-16 19:37:26 UTC
Both issues have been fixed in SVN.  Thanks for the report!