]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Fix freeing of retkey in openssh_new_read.
authorSimon Tatham <anakin@pobox.com>
Tue, 14 Feb 2017 21:31:12 +0000 (21:31 +0000)
committerSimon Tatham <anakin@pobox.com>
Tue, 14 Feb 2017 22:14:49 +0000 (22:14 +0000)
commitb03020cab9297c53d1a65a497910ea7a988b94e7
tree01f7963d098e4fe52cfc95de8d35f3d5cc5d40d6
parent12a080874fd9e5a4ae0a6dc39fb54b152927075d
Fix freeing of retkey in openssh_new_read.

Now it's always freed in the cleanup epilogue (unless we're returning
it), rather than ad-hoc earlier in the code. That should make it more
reliably freed on error paths.
import.c