From 58b1ecaf694629783305967564da203b6d76b3c9 Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Mon, 21 Nov 2011 17:29:09 +0000 Subject: [PATCH] Dirty fix for #1920 --- src/testing/testing.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 */ -- 2.25.1