Re: GtkTreeList/Store memory leak?



Mikael Hermansson <tyan linux se> writes:

> I am writing a new FileModel and is looking at the Gtk[List/Tree]Store
> to find out how the GtkTreeModel thingy works...
> 
> One thing I noticed is that I cannot find were the items is free'd
> when the TreeStore/ListStore is destroyed.
> 
> for example I cannot see any finalize(..) function and if am adding
> a g_print("free\n"); line to the gtk_tree_store_remove (...)
> it looks like this routine is never called on destroy?
> 
> I'm I missing something or is this a memoryleak?

Memleak.  It's even in bugzilla somewhere.

-Jonathan




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