gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r18240 - gnunet/src/testing


From: gnunet
Subject: [GNUnet-SVN] r18240 - gnunet/src/testing
Date: Mon, 21 Nov 2011 18:29:09 +0100

Author: bartpolot
Date: 2011-11-21 18:29:09 +0100 (Mon, 21 Nov 2011)
New Revision: 18240

Modified:
   gnunet/src/testing/testing.c
Log:
Dirty fix for #1920

Modified: gnunet/src/testing/testing.c
===================================================================
--- gnunet/src/testing/testing.c        2011-11-21 17:19:28 UTC (rev 18239)
+++ gnunet/src/testing/testing.c        2011-11-21 17:29:09 UTC (rev 18240)
@@ -540,7 +540,10 @@
         GNUNET_free_non_null (d->hostname);
         GNUNET_free_non_null (d->username);
         GNUNET_free (d->proc);
-        GNUNET_free (d);
+//         GNUNET_free (d); // FIXME (could this leak)
+        d->hostname = NULL; // Quick hack to avoid crashing (testing need to be
+                            // overhauled anyway, and the error managing is
+                            // pretty broken anyway.
         return;
       }
       /* wait some more */




reply via email to

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