Fix the issue of incorrect linkid calculation due to a lack of judgment on the current type.
Signed-off-by: Zhaoyi <zhaoyi(a)uniontech.com>
--
v10: comctl32/tests: Add a test case to get syslinkid.
https://gitlab.winehq.org/wine/wine/-/merge_requests/3114
On Sat Jul 8 07:23:37 2023 +0000, Rémi Bernon wrote:
> You should only call `WindowsDeleteString` if the refcount gets to 0
> (and then you should also free the hostname, which I also missed).
Yeah, sorry for missing that. I've just been very burned out with life in general.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/3249#note_38470