mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 14:51:11 +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:
parent
5c1c117b8e
commit
6d5215fd19
1 changed files with 1 additions and 1 deletions
|
@ -200,8 +200,8 @@ test_options_validate(void *arg)
|
||||||
WANT_ERR("BridgeRelay 1\nDirCache 0",
|
WANT_ERR("BridgeRelay 1\nDirCache 0",
|
||||||
"We're a bridge but DirCache is disabled.");
|
"We're a bridge but DirCache is disabled.");
|
||||||
|
|
||||||
clear_log_messages();
|
|
||||||
close_temp_logs();
|
close_temp_logs();
|
||||||
|
clear_log_messages();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue