gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r37291 - gnunet/src/revocation


From: gnunet
Subject: [GNUnet-SVN] r37291 - gnunet/src/revocation
Date: Mon, 20 Jun 2016 00:38:29 +0200

Author: grothoff
Date: 2016-06-20 00:38:29 +0200 (Mon, 20 Jun 2016)
New Revision: 37291

Modified:
   gnunet/src/revocation/gnunet-revocation.c
Log:
-fix gnunet-revocation

Modified: gnunet/src/revocation/gnunet-revocation.c
===================================================================
--- gnunet/src/revocation/gnunet-revocation.c   2016-06-19 22:26:35 UTC (rev 
37290)
+++ gnunet/src/revocation/gnunet-revocation.c   2016-06-19 22:38:29 UTC (rev 
37291)
@@ -238,7 +238,7 @@
  */
 static void
 sync_rd (const struct RevocationData *rd)
-{ 
+{
   if ( (NULL != filename) &&
        (sizeof (struct RevocationData) ==
        GNUNET_DISK_fn_write (filename,
@@ -283,6 +283,7 @@
   struct RevocationData *rd = cls;
 
   /* store temporary results */
+  pow_task = NULL;
   if (0 == (rd->pow % 128))
     sync_rd (rd);
   /* display progress estimate */
@@ -312,7 +313,9 @@
                                 "write",
                                 filename);
     if (perform)
+    {
       perform_revocation (rd);
+    }
     else
     {
       FPRINTF (stderr, "%s", "\n");
@@ -322,7 +325,6 @@
                filename);
       GNUNET_SCHEDULER_shutdown ();
     }
-    GNUNET_free (rd);
     return;
   }
   pow_task = GNUNET_SCHEDULER_add_now (&calculate_pow,




reply via email to

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