From 5e73fcf9efb7ec0d0edd62c956a1f62f108b1b06 Mon Sep 17 00:00:00 2001 From: Heikki Lindholm Date: Thu, 29 Oct 2009 14:58:11 +0000 Subject: [PATCH] observed on ppc64 --- src/util/test_common_logging.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/util/test_common_logging.c b/src/util/test_common_logging.c index 3d07661c2..8a9b73108 100644 --- a/src/util/test_common_logging.c +++ b/src/util/test_common_logging.c @@ -42,6 +42,9 @@ main (int argc, char *argv[]) unsigned int failureCount = 0; unsigned int logs = 0; + /* FIXME: this causes a double free, because common_logging sets + * GNUNET_stderr = stderr before main() gets executed and then tries + * to fclose(GNUNET_stderr) in GNUNET_log_setup */ fclose (stderr); #ifndef MINGW stderr = NULL; -- 2.25.1