Leaking despite gtk_list_store_clear()
- From: Andrew Smith <asmith15 learn senecac on ca>
- To: gtk-app-devel-list gnome org
- Subject: Leaking despite gtk_list_store_clear()
- Date: Sat, 30 Jun 2007 22:39:53 -0400
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]