commit 6d5215fd19a2e6e28442a32311c8542358fa2c1d Author: Ola Bini ola@olabini.se Date: Tue Jan 12 16:32:54 2016 -0500
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 693b3da..85b0983 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; }