gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r24050 - gnunet/src/testing_old
Date: Thu, 27 Sep 2012 15:01:53 +0200

Author: grothoff
Date: 2012-09-27 15:01:53 +0200 (Thu, 27 Sep 2012)
New Revision: 24050

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

Modified: gnunet/src/testing_old/testing.c
===================================================================
--- gnunet/src/testing_old/testing.c    2012-09-27 12:58:08 UTC (rev 24049)
+++ gnunet/src/testing_old/testing.c    2012-09-27 13:01:53 UTC (rev 24050)
@@ -1991,11 +1991,11 @@
     if (ctx->d1th == NULL)
     {
       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;
     }
     GNUNET_assert (GNUNET_SCHEDULER_NO_TASK == ctx->hello_send_task);




reply via email to

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