gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r7454 - gnunet-gtk/src/plugins/fs


From: gnunet
Subject: [GNUnet-SVN] r7454 - gnunet-gtk/src/plugins/fs
Date: Sat, 19 Jul 2008 01:33:22 -0600 (MDT)

Author: grothoff
Date: 2008-07-19 01:33:21 -0600 (Sat, 19 Jul 2008)
New Revision: 7454

Modified:
   gnunet-gtk/src/plugins/fs/upload.c
Log:
fixing crash

Modified: gnunet-gtk/src/plugins/fs/upload.c
===================================================================
--- gnunet-gtk/src/plugins/fs/upload.c  2008-07-19 04:19:17 UTC (rev 7453)
+++ gnunet-gtk/src/plugins/fs/upload.c  2008-07-19 07:33:21 UTC (rev 7454)
@@ -502,8 +502,10 @@
       GNUNET_GTK_run_with_save_calls (&start_upload_helper, &fsuc);
       GNUNET_free (fsuc.filename);
       GNUNET_meta_data_destroy (fsuc.meta);
-      GNUNET_ECRS_uri_destroy (fsuc.gkeywordURI);
-      GNUNET_ECRS_uri_destroy (fsuc.keywordURI);
+      if (fsuc.gkeywordURI != NULL)
+       GNUNET_ECRS_uri_destroy (fsuc.gkeywordURI);
+      if (fsuc.keywordURI != NULL)
+       GNUNET_ECRS_uri_destroy (fsuc.keywordURI);
     }
   gtk_widget_destroy (dialog);
   UNREF (metaXML);





reply via email to

[Prev in Thread] Current Thread [Next in Thread]