mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-06-30 19:12:48 -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: