gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r7157 - GNUnet/src/applications/fs/ecrs


From: gnunet
Subject: [GNUnet-SVN] r7157 - GNUnet/src/applications/fs/ecrs
Date: Thu, 12 Jun 2008 11:58:05 -0600 (MDT)

Author: grothoff
Date: 2008-06-12 11:58:05 -0600 (Thu, 12 Jun 2008)
New Revision: 7157

Modified:
   GNUnet/src/applications/fs/ecrs/download.c
Log:
fix

Modified: GNUnet/src/applications/fs/ecrs/download.c
===================================================================
--- GNUnet/src/applications/fs/ecrs/download.c  2008-06-12 16:46:38 UTC (rev 
7156)
+++ GNUnet/src/applications/fs/ecrs/download.c  2008-06-12 17:58:05 UTC (rev 
7157)
@@ -216,6 +216,8 @@
 
   if (rm->abortFlag == GNUNET_NO)
     rm->abortFlag = GNUNET_YES;
+  if (rm->my_sctx == GNUNET_YES)
+    GNUNET_FS_destroy_search_context (rm->sctx);
   while (rm->head != NULL)
     {
       pos = rm->head;
@@ -230,8 +232,6 @@
   if (rm->main != NULL)
     GNUNET_thread_release_self (rm->main);
   GNUNET_free_non_null (rm->filename);
-  if (rm->my_sctx == GNUNET_YES)
-    GNUNET_FS_destroy_search_context (rm->sctx);
   rm->sctx = NULL;
   GNUNET_free (rm);
 }





reply via email to

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