]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Thanks to Hans-Juergen Petrich for spotting this tiny memory leak:
authorSimon Tatham <anakin@pobox.com>
Sun, 17 Nov 2002 15:06:16 +0000 (15:06 +0000)
committerSimon Tatham <anakin@pobox.com>
Sun, 17 Nov 2002 15:06:16 +0000 (15:06 +0000)
commitc206f0d8e56d6ed1645787db92c9bcfe7c9c6b94
tree5cdd8a584a32e6630488ec68fd77d0f18fd0c5ab
parent9902bc67fc7e702858710b90f83814b336d4eeb7
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?).

[originally from svn r2217]
winstore.c