6 Jun
2023
6 Jun
'23
5:16 a.m.
On Mon Jun 5 12:12:41 2023 +0000, Piotr Caban wrote:
There's no leak here. In case !buf we're updating size if it's to small. The code can be changed to: ```suggestion:-0+0 else if (dir_len >= size) ``` to make it easier to read. My apologies for not reading the code closely enough. I like your idea of using `else if` to suppress the warning, and I've pushed a new patch that does exactly that.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/2976#note_34747