Re: memory leak when destroying widgets
- From: "Dave Foster" <dave foster gmail com>
- To: "Jacques Le Normand" <rathereasy gmail com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: memory leak when destroying widgets
- Date: Mon, 27 Oct 2008 16:50:52 -0400
Hi,
On Mon, Oct 27, 2008 at 4:22 PM, Jacques Le Normand <rathereasy gmail com>wrote:
gtk_container_remove(GTK_CONTAINER(vbox),child);
Most likely I am wrong on this, but you solely do a container remove, and
not a delete/free etc on something that was created with entry_new(). I'm
fairly certain that removing from a container does not free the the object,
and you are therefore leaking 400 pointers to entry boxes.
dave
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]