28 May
2024
28 May
'24
9 p.m.
On Mon Apr 29 13:16:19 2024 +0000, Jinoh Kang wrote:
(nit) Avoid directly manipulating ref if possible (ref is zero-initialized by calloc) ```suggestion:-1+0 shared_session = shared_session_acquire( session ); ``` Initializing ref count to 1 is a common pattern in Wine. I moved it next to the calloc to make it more like what we often do.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/3103#note_69014