From: Heikki Lindholm Date: Thu, 29 Oct 2009 14:58:11 +0000 (+0000) Subject: observed on ppc64 X-Git-Tag: initial-import-from-subversion-38251~23207 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5e73fcf9efb7ec0d0edd62c956a1f62f108b1b06;p=oweals%2Fgnunet.git observed on ppc64 --- 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;