]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Unix Pageant: fix a double-free when adding keys.
authorSimon Tatham <anakin@pobox.com>
Wed, 13 May 2015 12:22:44 +0000 (13:22 +0100)
committerSimon Tatham <anakin@pobox.com>
Wed, 13 May 2015 13:00:26 +0000 (14:00 +0100)
commita1816395211c7acfa24b0eabfcb5f05ca5fcc074
treee629948642b4a1c17e9211be66ea8f9ed537546a
parentc6c23ed84b544661694a74956499506ff53ebc71
Unix Pageant: fix a double-free when adding keys.

I had freed the comment string coming back from pageant_add_keyfile,
but not NULLed out the pointer, so that the cleanup code at the end of
the function would have freed it again.
unix/uxpgnt.c