Solved (was: Re: Memory leak in Gtk?)
- From: Joern Reder <joern netcologne de>
- To: gtk-perl-list gnome org
- Subject: Solved (was: Re: Memory leak in Gtk?)
- Date: Wed, 21 Nov 2001 00:09:21 +0100
Joern Reder wrote:
Is this a bug in my program? Or is Gtk leaking here...
It was a bug of mine - after crawling through the documentation again, I
found this
(Gtk::Gdk::ImlibImage) $image->kill_image
And yes: it does what it sounds like ;)
I call this after getting the pixmap with $image->copy_image: and
nothing is leaking anymore.
Joern
--
Joern Reder - joern zyn de
Development Head ZYN! Coding Division - http://www.zyn.de/joe
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]