Re: [gtk-list] Gtk+ memory freeing
- From: Tim Janik <timj gtk org>
- To: Mario Motta <mmotta guest net>
- cc: Gtk+ MList <gtk-list redhat com>
- Subject: Re: [gtk-list] Gtk+ memory freeing
- Date: Tue, 29 Sep 1998 23:54:34 +0200 (CEST)
On Tue, 29 Sep 1998, Mario Motta wrote:
> hi to all gtk+ gurus,
> i'm trying to understand how Gtk+ manages memory freeing.
> Since neither examples nor tutorial mention this argument i assume that
> after a gtk_somewidget_new(), gtk+ takes care internally of all memory
> freeing stuff.
> However some reports have been made about memory leaks, so there is
> someone that can explain wich is the correct way to assure memory
> freeing in Gtk+ or alternatively points me to right docs ?
> Thanks in advance.
Gtk+ uses a reference counting scheme to determine when the actuall
widget memory may be finally freed.
there is more information on this in gtk+/docs/refcounting.txt.
> --
> Mario Motta
> mmotta@guest.net
> http://www.guest.net/homepages/mmotta/index.htm
>
---
ciaoTJ
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]