-help seaspider some more
[oweals/gnunet.git] / src / fs / gnunet-publish.c
index 50f507d934bae26ffe1e0a087249aab0fa59bacd..a1b26dbd5845da11eae06fee745c23cdd009a762 100644 (file)
@@ -291,6 +291,12 @@ publish_inspector (void *cls, struct GNUNET_FS_FileInformation *fi,
   }
   if (!do_disable_creation_time)
     GNUNET_CONTAINER_meta_data_add_publication_date (m);
+  if ( (disable_extractor) &&
+       (NULL != *uri) )
+  {
+    GNUNET_FS_uri_destroy (*uri);
+    *uri = NULL;
+  }
   if (extract_only)
   {
     fn = GNUNET_CONTAINER_meta_data_get_by_type (m,