Alexandre Julliard pushed to branch master at wine / wine
Commits: 4f11a530 by Zhiyi Zhang at 2025-10-17T12:27:37+02:00 wintypes: Fix a memory leak.
"4b1e53ce wintypes: Make a copy of the passed string in IPropertyValueStatics::CreateString." creates a copy. We should release the string in property_value_Release().
- - - - - 2715c6fb by Zhiyi Zhang at 2025-10-17T12:27:38+02:00 wintypes: Restore a pointer check in property_value_statics_CreateString().
Fix a regression from 4b1e53ce.
- - - - - e9a1434b by Zhiyi Zhang at 2025-10-17T12:27:45+02:00 wintypes: Increase string reference count when property_value_GetString() succeeds.
- - - - - 81916b10 by Zhiyi Zhang at 2025-10-17T12:27:45+02:00 wintypes: Create a copy for string arrays for property_value_statics_CreateStringArray().
Similar to 4b1e53ce to avoid use-after-free.
- - - - - b6dc3d4a by Zhiyi Zhang at 2025-10-17T12:27:46+02:00 wintypes: Increase string reference count when property_value_GetStringArray() succeeds.
- - - - -
2 changed files:
- dlls/wintypes/main.c - dlls/wintypes/tests/wintypes.c
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/754a6c8506090006c412a75f7c1445...