diff options
Diffstat (limited to 'src/fs/gnunet-fs-gtk_publish-dialog.c')
-rw-r--r-- | src/fs/gnunet-fs-gtk_publish-dialog.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/fs/gnunet-fs-gtk_publish-dialog.c b/src/fs/gnunet-fs-gtk_publish-dialog.c index 4ad1c091..aafcce9b 100644 --- a/src/fs/gnunet-fs-gtk_publish-dialog.c +++ b/src/fs/gnunet-fs-gtk_publish-dialog.c | |||
@@ -2009,7 +2009,7 @@ update_treeview_after_edit (void *cls, | |||
2009 | PUBLISH_MC_REPLICATION_LEVEL, | 2009 | PUBLISH_MC_REPLICATION_LEVEL, |
2010 | (guint) bo->replication_level, | 2010 | (guint) bo->replication_level, |
2011 | -1); | 2011 | -1); |
2012 | GNUNET_free_non_null (name); | 2012 | GNUNET_free (name); |
2013 | return GNUNET_SYSERR; | 2013 | return GNUNET_SYSERR; |
2014 | } | 2014 | } |
2015 | 2015 | ||
@@ -2161,7 +2161,7 @@ close_master_publish_dialog (struct MainPublishingDialogContext *ctx) | |||
2161 | GNUNET_IDENTITY_disconnect (ctx->identity); | 2161 | GNUNET_IDENTITY_disconnect (ctx->identity); |
2162 | gtk_widget_destroy (GTK_WIDGET (ctx->master_pubdialog)); | 2162 | gtk_widget_destroy (GTK_WIDGET (ctx->master_pubdialog)); |
2163 | g_object_unref (G_OBJECT (ctx->builder)); | 2163 | g_object_unref (G_OBJECT (ctx->builder)); |
2164 | GNUNET_free_non_null (ctx->ns_name); | 2164 | GNUNET_free (ctx->ns_name); |
2165 | g_free (ctx->previous_id); | 2165 | g_free (ctx->previous_id); |
2166 | GNUNET_free (ctx); | 2166 | GNUNET_free (ctx); |
2167 | return GNUNET_YES; | 2167 | return GNUNET_YES; |
@@ -2609,7 +2609,7 @@ add_updateable_to_ts (void *cls, | |||
2609 | GNUNET_CRYPTO_hash (hashbuf, hashbufsize, &hc); | 2609 | GNUNET_CRYPTO_hash (hashbuf, hashbufsize, &hc); |
2610 | 2610 | ||
2611 | GNUNET_free (uristring); | 2611 | GNUNET_free (uristring); |
2612 | GNUNET_free_non_null (mdbuf); | 2612 | GNUNET_free (mdbuf); |
2613 | GNUNET_free (hashbuf); | 2613 | GNUNET_free (hashbuf); |
2614 | 2614 | ||
2615 | spath = NULL; | 2615 | spath = NULL; |
@@ -2733,7 +2733,7 @@ add_updateable_to_ts (void *cls, | |||
2733 | 2733 | ||
2734 | /** | 2734 | /** |
2735 | * Called by a hashmap iterator. | 2735 | * Called by a hashmap iterator. |
2736 | * Frees its argument with GNUNET_free_non_null(). | 2736 | * Frees its argument with GNUNET_free(). |
2737 | * | 2737 | * |
2738 | * @param cls closure | 2738 | * @param cls closure |
2739 | * @param key key from the map | 2739 | * @param key key from the map |
@@ -2743,7 +2743,7 @@ add_updateable_to_ts (void *cls, | |||
2743 | static int | 2743 | static int |
2744 | free_seen_paths (void *cls, const struct GNUNET_HashCode *key, void *value) | 2744 | free_seen_paths (void *cls, const struct GNUNET_HashCode *key, void *value) |
2745 | { | 2745 | { |
2746 | GNUNET_free_non_null (value); | 2746 | GNUNET_free (value); |
2747 | return GNUNET_YES; | 2747 | return GNUNET_YES; |
2748 | } | 2748 | } |
2749 | 2749 | ||