Re: memory leak when destroying widgets



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]