gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r24175 - gnunet/src/testing_old


From: gnunet
Subject: [GNUnet-SVN] r24175 - gnunet/src/testing_old
Date: Thu, 4 Oct 2012 13:30:42 +0200

Author: grothoff
Date: 2012-10-04 13:30:42 +0200 (Thu, 04 Oct 2012)
New Revision: 24175

Modified:
   gnunet/src/testing_old/testing.c
Log:
-fix

Modified: gnunet/src/testing_old/testing.c
===================================================================
--- gnunet/src/testing_old/testing.c    2012-10-04 10:39:20 UTC (rev 24174)
+++ gnunet/src/testing_old/testing.c    2012-10-04 11:30:42 UTC (rev 24175)
@@ -1954,11 +1954,11 @@
     if (NULL == ctx->d2->th)
     {
       GNUNET_CORE_disconnect (ctx->d1core);
-      GNUNET_free (ctx);
       if (NULL != ctx->cb)
         ctx->cb (ctx->cb_cls, &ctx->d1->id, &ctx->d2->id, 0, ctx->d1->cfg,
                  ctx->d2->cfg, ctx->d1, ctx->d2,
                  _("Failed to connect to transport service!\n"));
+      GNUNET_free (ctx);
       return;
     }
     ctx->d2->ghh =




reply via email to

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