mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Move clearing of log messages on advice from @cypherpunks, in order to minimize risk of race conditions leading to another memory leak
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user