aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-12-23 15:25:24 +0000
committerChristian Grothoff <christian@grothoff.org>2011-12-23 15:25:24 +0000
commite0c658c5e700429bcebc6379de27832b789b035d (patch)
tree393a5823f4ba74eda920ff7d152114b9c0fda1a9
parenta7df4a3dc778d4b84f04882179f272f0354f4fb8 (diff)
downloadgnunet-gtk-e0c658c5e700429bcebc6379de27832b789b035d.tar.gz
gnunet-gtk-e0c658c5e700429bcebc6379de27832b789b035d.zip
-LRN: don't free NULL
-rw-r--r--src/fs/gnunet-fs-gtk-edit_publish_dialog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs/gnunet-fs-gtk-edit_publish_dialog.c b/src/fs/gnunet-fs-gtk-edit_publish_dialog.c
index 2c5310c9..b6835ef3 100644
--- a/src/fs/gnunet-fs-gtk-edit_publish_dialog.c
+++ b/src/fs/gnunet-fs-gtk-edit_publish_dialog.c
@@ -897,7 +897,7 @@ GNUNET_GTK_edit_publication_confirm_button_clicked_cb (GtkButton *button, gpoint
897 state->anonymity_level, 897 state->anonymity_level,
898 state->priority, ctx.root, 898 state->priority, ctx.root,
899 GTK_RESPONSE_OK); 899 GTK_RESPONSE_OK);
900 GNUNET_free (state->short_fn); 900 GNUNET_free_non_null (state->short_fn);
901 GNUNET_free (state); 901 GNUNET_free (state);
902 g_object_set_data (pubwindow, PUBSTATE, NULL); 902 g_object_set_data (pubwindow, PUBSTATE, NULL);
903 gtk_widget_hide (GTK_WIDGET (pubwindow)); 903 gtk_widget_hide (GTK_WIDGET (pubwindow));