mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 01:48:00 +00:00
Just like under Windows, cleanup_exit() shouldn't need to check
before calling random_save_seed(). [originally from svn r2562]
This commit is contained in:
parent
f49c8c5a07
commit
520f716dec
@ -25,10 +25,7 @@ void cleanup_exit(int code)
|
||||
* Clean up.
|
||||
*/
|
||||
sk_cleanup();
|
||||
|
||||
if (cfg.protocol == PROT_SSH)
|
||||
random_save_seed();
|
||||
|
||||
random_save_seed();
|
||||
exit(code);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user