diff options
author | Ola Bini <ola@olabini.se> | 2016-01-12 16:32:54 -0500 |
---|---|---|
committer | Ola Bini <ola@olabini.se> | 2016-01-13 10:35:49 -0500 |
commit | 6d5215fd19a2e6e28442a32311c8542358fa2c1d (patch) | |
tree | ee7552c9ffac96a579fde2f0eb7324faa441eb81 /src | |
parent | 5c1c117b8ecae53ded15773ffa78da26757b7fe3 (diff) | |
download | tor-6d5215fd19a2e6e28442a32311c8542358fa2c1d.tar.gz tor-6d5215fd19a2e6e28442a32311c8542358fa2c1d.zip |
Move clearing of log messages on advice from @cypherpunks, in order to minimize risk of race conditions leading to another memory leak
Diffstat (limited to 'src')
-rw-r--r-- | src/test/test_options.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |