From: Bart Polot Date: Mon, 21 Nov 2011 17:29:09 +0000 (+0000) Subject: Dirty fix for #1920 X-Git-Tag: initial-import-from-subversion-38251~15862 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=58b1ecaf694629783305967564da203b6d76b3c9;p=oweals%2Fgnunet.git Dirty fix for #1920 --- diff --git a/src/testing/testing.c b/src/testing/testing.c index c2905ea7f..59dc6581e 100644 --- a/src/testing/testing.c +++ b/src/testing/testing.c @@ -540,7 +540,10 @@ start_fsm (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) 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 */