Module: wine Branch: master Commit: 3adad15f406aa5a860b922d5e87ce3df8eba397c URL: https://gitlab.winehq.org/wine/wine/-/commit/3adad15f406aa5a860b922d5e87ce3d...
Author: Alex Henrie alexhenrie24@gmail.com Date: Mon Dec 4 21:56:38 2023 -0700
mscoree: Annotate WtoA with __WINE_(DEALLOC|MALLOC).
---
dlls/mscoree/mscoree_private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/mscoree/mscoree_private.h b/dlls/mscoree/mscoree_private.h index ffcb852f35d..06db53136e1 100644 --- a/dlls/mscoree/mscoree_private.h +++ b/dlls/mscoree/mscoree_private.h @@ -20,7 +20,7 @@ #ifndef __MSCOREE_PRIVATE__ #define __MSCOREE_PRIVATE__
-extern char *WtoA(LPCWSTR wstr); +extern char *WtoA(const WCHAR *wstr) __WINE_DEALLOC(free) __WINE_MALLOC;
extern HRESULT CLRMetaHost_CreateInstance(REFIID riid, void **ppobj); extern HRESULT CLRMetaHostPolicy_CreateInstance(REFIID riid, void **ppobj);