From 6d5215fd19a2e6e28442a32311c8542358fa2c1d Mon Sep 17 00:00:00 2001 From: Ola Bini Date: Tue, 12 Jan 2016 16:32:54 -0500 Subject: [PATCH] Move clearing of log messages on advice from @cypherpunks, in order to minimize risk of race conditions leading to another memory leak --- src/test/test_options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/test_options.c b/src/test/test_options.c index 693b3dacb7..85b0983868 100644 --- a/src/test/test_options.c +++ b/src/test/test_options.c @@ -200,8 +200,8 @@ test_options_validate(void *arg) WANT_ERR("BridgeRelay 1\nDirCache 0", "We're a bridge but DirCache is disabled."); - clear_log_messages(); close_temp_logs(); + clear_log_messages(); return; }