aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-fs-gtk-main_window_file_publish.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/gnunet-fs-gtk-main_window_file_publish.c')
-rw-r--r--src/fs/gnunet-fs-gtk-main_window_file_publish.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/fs/gnunet-fs-gtk-main_window_file_publish.c b/src/fs/gnunet-fs-gtk-main_window_file_publish.c
index 7172e334..443558a7 100644
--- a/src/fs/gnunet-fs-gtk-main_window_file_publish.c
+++ b/src/fs/gnunet-fs-gtk-main_window_file_publish.c
@@ -1628,7 +1628,7 @@ add_namespace_to_ts (void *cls, const char *name, const GNUNET_HashCode * id)
1628 name_utf8 = GNUNET_GTK_from_loc_to_utf8 ((char *) name); 1628 name_utf8 = GNUNET_GTK_from_loc_to_utf8 ((char *) name);
1629 gtk_tree_store_insert_with_values (ts, &iter, NULL, G_MAXINT, 0, name_utf8, 1, 1629 gtk_tree_store_insert_with_values (ts, &iter, NULL, G_MAXINT, 0, name_utf8, 1,
1630 uc.ns, 2, NULL /* last-id */ , 1630 uc.ns, 2, NULL /* last-id */ ,
1631 3, NULL /* last-uri */ , 1631 3, NULL /* last-uri (as string!) */ ,
1632 4, NULL /* meta */ , 1632 4, NULL /* meta */ ,
1633 5, NULL /* next-ID */ , 1633 5, NULL /* next-ID */ ,
1634 6, NULL /* last-description */ , 1634 6, NULL /* last-description */ ,
@@ -1645,14 +1645,11 @@ add_namespace_to_ts (void *cls, const char *name, const GNUNET_HashCode * id)
1645static void 1645static void
1646free_pseudonym_tree_store (GtkTreeModel * tm, GtkTreeIter * iter) 1646free_pseudonym_tree_store (GtkTreeModel * tm, GtkTreeIter * iter)
1647{ 1647{
1648 struct GNUNET_FS_Uri *uri;
1649 struct GNUNET_CONTAINER_MetaData *meta; 1648 struct GNUNET_CONTAINER_MetaData *meta;
1650 struct GNUNET_FS_Namespace *ns; 1649 struct GNUNET_FS_Namespace *ns;
1651 GtkTreeIter child; 1650 GtkTreeIter child;
1652 1651
1653 gtk_tree_model_get (tm, iter, 1, &ns, 3, &uri, 4, &meta, -1); 1652 gtk_tree_model_get (tm, iter, 1, &ns, 4, &meta, -1);
1654 if (uri != NULL)
1655 GNUNET_FS_uri_destroy (uri);
1656 if (meta != NULL) 1653 if (meta != NULL)
1657 GNUNET_CONTAINER_meta_data_destroy (meta); 1654 GNUNET_CONTAINER_meta_data_destroy (meta);
1658 if (ns != NULL) 1655 if (ns != NULL)