aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-fs-gtk_main-window-search.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/gnunet-fs-gtk_main-window-search.c')
-rw-r--r--src/fs/gnunet-fs-gtk_main-window-search.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fs/gnunet-fs-gtk_main-window-search.c b/src/fs/gnunet-fs-gtk_main-window-search.c
index ff43ff62..cf4d969c 100644
--- a/src/fs/gnunet-fs-gtk_main-window-search.c
+++ b/src/fs/gnunet-fs-gtk_main-window-search.c
@@ -63,7 +63,8 @@ start_search (struct GNUNET_GTK_MainWindowContext *main_ctx)
63 if ( (NULL != mime_model) && 63 if ( (NULL != mime_model) &&
64 gtk_combo_box_get_active_iter (mime_combo, &iter)) 64 gtk_combo_box_get_active_iter (mime_combo, &iter))
65 gtk_tree_model_get (mime_model, &iter, 0, &mime_keyword, -1); 65 gtk_tree_model_get (mime_model, &iter, 0, &mime_keyword, -1);
66 if (0 == strcmp (mime_keyword, " ")) 66 if ( (NULL != mime_keyword) &&
67 (0 == strcmp (mime_keyword, " ")) )
67 { 68 {
68 g_free (mime_keyword); 69 g_free (mime_keyword);
69 mime_keyword = NULL; 70 mime_keyword = NULL;