From e5278abcde25b28698a48c51faa25017bfa333f6 Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Tue, 14 Feb 2012 10:38:28 +0000 Subject: [PATCH] - attempt to narrow down os_priority bug --- src/testing/testing.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/testing/testing.c b/src/testing/testing.c index a729c5063..023b607eb 100644 --- a/src/testing/testing.c +++ b/src/testing/testing.c @@ -773,6 +773,7 @@ start_fsm (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) d->server = NULL; } GNUNET_CONFIGURATION_destroy (d->cfg); + d->cfg = NULL; GNUNET_free (d->cfgfile); GNUNET_free_non_null (d->hello); GNUNET_free_non_null (d->hostname); @@ -807,6 +808,7 @@ start_fsm (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) if (d->churn == GNUNET_NO) { GNUNET_CONFIGURATION_destroy (d->cfg); + d->cfg = NULL; GNUNET_free (d->cfgfile); GNUNET_free_non_null (d->hostname); GNUNET_free_non_null (d->username); @@ -1661,6 +1663,7 @@ GNUNET_TESTING_daemon_stop (struct GNUNET_TESTING_Daemon *d, "-c", d->cfgfile, "-e", "-q", "-T", GNUNET_TIME_relative_to_string (timeout), del_arg, NULL); + GNUNET_assert (NULL != d->proc); } GNUNET_free_non_null (del_arg); -- 2.25.1