mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-12 00:33:53 -05:00
cmdgen: fix double-free on exit.
Freeing ssh1key->comment before calling freersakey() on the whole of ssh1key is redundant, and worse, because we also didn't null out the freed pointer, causes a double-free.
This commit is contained in: