Re: [PATCH v2 0/1] MR1107: kernelbase: Avoid memory leaks in GetConsoleTitleW()
20 Oct
2022
20 Oct
'22
1:13 p.m.
On Thu Oct 20 13:10:51 2022 +0000, eric pouech wrote:
Hi Hugh, IMO, this could be written without using 'goto' for example ``` if (console_ioctl(...) && size >= sizeof(...)) { } else size = 0; HeapFree(...); return size; ``` Sure. That’s the merged version, which I think @julliard modified.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/1107#note_11523
1157
Age (days ago)
1157
Last active (days ago)
0 comments
1 participants
participants (1)
-
Hugh McMaster (@hmc)