Re: checking for memory leaks in gtk

On Wed, 2008-05-07 at 19:53 +0530, Harinandan S wrote:
> Hi All,
> I have observed memory leak in GTK+ too. I have multiple windows
> created when some buttons are pressed and destroyed later. I observed
> that when i destroy a window memory allocated to it during its
> creation is not freed and memory consumed accumulates and application
> is killed by OS after a few window create and destroy cycles. 
> I am using GTK+ 2.12.2 with MontaVista linux on TI DM6446 platform.
> Does anyone know why gtk_widget_destroy  is not freeing memory? 

You don't know that. In fact, from the first paragraph of what you
wrote, its not clear to me that you understand the relationship between
memory allocated by an application using malloc(3) and the operating
system. How are you concluding that memory allocated for a given object
is not freed?

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]