Fix a couple of code paths on which, if fxp_readdir returned an error,
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Thu, 11 Jul 2013 17:24:44 +0000 (17:24 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Thu, 11 Jul 2013 17:24:44 +0000 (17:24 +0000)
commite99bb8bfc8d2c1a47b6ae90ef43683d191c30f66
treeb305f01d44f98cb3cb77503cf7964b6e5b55a102
parentfb73b28d8dd9758d692fc368fd2bb0490b5e3bcc
Fix a couple of code paths on which, if fxp_readdir returned an error,
we would return without first closing the directory handle we had used
as an argument.

git-svn-id: svn://svn.tartarus.org/sgt/putty@9913 cda61777-01e9-0310-a592-d414129be87e
pscp.c
psftp.c