1
0
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:
Simon Tatham 2003-01-12 14:49:44 +00:00
parent f49c8c5a07
commit 520f716dec

View File

@ -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);
}