1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-04-09 15:18:06 -05:00
Simon Tatham 41473d915b Fix a memory leak in Windows f_open.
The UCS-2 translation of the access-mode string ("r", "wb" etc) was
not being freed, because the free call appeared after an unconditional
return statement.

Spotted by Coverity, although now I wonder why an ordinary compiler
warning hadn't long since pointed this one out!
2024-11-21 12:59:00 +00:00
..
2021-05-27 09:48:32 +01:00
2022-08-03 20:48:46 +01:00
2024-06-29 12:00:12 +01:00
2022-09-03 11:59:12 +01:00
2017-05-07 16:29:01 +01:00