Leaking despite gtk_list_store_clear()



Hi

I am using a GtkTreeView to display the contents of the filesystem in my application. It always worked (I mostly followed http://scentric.net/tutorial/) but I just found that it leaks memory.

My understanding of the tree view model is somewhat limited so I won't try to speculate about what's causing the leak - all I know is it happens even though I call gtk_list_store_clear() on my GtkListStore*.

Would someone please take a look? It's relatively simple code, the leak happens in changeFsDirectory(): http://littlesvr.ca/misc/fsbrowser.c (it's part of ISO Master).

If you don't have the time to look at it, would you at least suggest common reasons why repopulating a GtkListStore* would cause a memory leak?

Thanks in advance,

Andrew



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