Thanks to Hans-Juergen Petrich for spotting this tiny memory leak:
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sun, 17 Nov 2002 15:06:16 +0000 (15:06 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sun, 17 Nov 2002 15:06:16 +0000 (15:06 +0000)
commit60371ab36cd27a18236d969f0ebdbd2aa73b1705
tree5cdd8a584a32e6630488ec68fd77d0f18fd0c5ab
parent1728c0128e97cd2b529e1af3fc4ba730018991dd
Thanks to Hans-Juergen Petrich for spotting this tiny memory leak:
`otherbuf' should still be freed even if the RegEnumKey function
that was supposed to fill it with data failed. While I'm at it, also
remove the redundant check for its non-NULL-ness (what's the point
of having a malloc wrapper that dies rather than return NULL if you
then waste effort checking its return value for NULL _anyway_, eh?).

git-svn-id: svn://svn.tartarus.org/sgt/putty@2217 cda61777-01e9-0310-a592-d414129be87e
winstore.c