aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2008-07-19 07:33:21 +0000
committerChristian Grothoff <christian@grothoff.org>2008-07-19 07:33:21 +0000
commit289dc151e6de33aca9d49d35b1247d4945e79c65 (patch)
tree3dac89a4a0b65e2c6ba6626ae8ca0082ec7a0fec
parent726984352efef2bb258a07d5dbe41e163a0a6144 (diff)
downloadgnunet-gtk-289dc151e6de33aca9d49d35b1247d4945e79c65.tar.gz
gnunet-gtk-289dc151e6de33aca9d49d35b1247d4945e79c65.zip
fixing crash
-rw-r--r--src/plugins/fs/upload.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/fs/upload.c b/src/plugins/fs/upload.c
index 54e93b0a..82a8ca0c 100644
--- a/src/plugins/fs/upload.c
+++ b/src/plugins/fs/upload.c
@@ -502,8 +502,10 @@ on_fsinsertuploadbutton_clicked_fs (gpointer dummy, GtkWidget * uploadButton)
502 GNUNET_GTK_run_with_save_calls (&start_upload_helper, &fsuc); 502 GNUNET_GTK_run_with_save_calls (&start_upload_helper, &fsuc);
503 GNUNET_free (fsuc.filename); 503 GNUNET_free (fsuc.filename);
504 GNUNET_meta_data_destroy (fsuc.meta); 504 GNUNET_meta_data_destroy (fsuc.meta);
505 GNUNET_ECRS_uri_destroy (fsuc.gkeywordURI); 505 if (fsuc.gkeywordURI != NULL)
506 GNUNET_ECRS_uri_destroy (fsuc.keywordURI); 506 GNUNET_ECRS_uri_destroy (fsuc.gkeywordURI);
507 if (fsuc.keywordURI != NULL)
508 GNUNET_ECRS_uri_destroy (fsuc.keywordURI);
507 } 509 }
508 gtk_widget_destroy (dialog); 510 gtk_widget_destroy (dialog);
509 UNREF (metaXML); 511 UNREF (metaXML);