diff options
Diffstat (limited to 'src/plugins/fs/search.c')
-rw-r--r-- | src/plugins/fs/search.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/fs/search.c b/src/plugins/fs/search.c index ab78d844..ce3c5bcf 100644 --- a/src/plugins/fs/search.c +++ b/src/plugins/fs/search.c | |||
@@ -955,6 +955,7 @@ fs_search_restarted (SearchList * list) | |||
955 | void | 955 | void |
956 | fs_search_stopped (SearchList * list) | 956 | fs_search_stopped (SearchList * list) |
957 | { | 957 | { |
958 | GtkTreeIter iter; | ||
958 | GtkNotebook *notebook; | 959 | GtkNotebook *notebook; |
959 | SearchList *prev; | 960 | SearchList *prev; |
960 | DownloadList *downloads; | 961 | DownloadList *downloads; |
@@ -998,6 +999,8 @@ fs_search_stopped (SearchList * list) | |||
998 | index = i; | 999 | index = i; |
999 | GNUNET_GE_BREAK (ectx, index != -1); | 1000 | GNUNET_GE_BREAK (ectx, index != -1); |
1000 | gtk_notebook_remove_page (notebook, index); | 1001 | gtk_notebook_remove_page (notebook, index); |
1002 | if (gtk_tree_model_get_iter_first (GTK_TREE_MODEL (list->tree), &iter)) | ||
1003 | freeIterSubtree (GTK_TREE_MODEL (list->tree), &iter); | ||
1001 | /* free list state itself */ | 1004 | /* free list state itself */ |
1002 | UNREF (list->searchXML); | 1005 | UNREF (list->searchXML); |
1003 | UNREF (list->labelXML); | 1006 | UNREF (list->labelXML); |