Module: wine Branch: master Commit: a0a4c2fb3f1f73dce48bef8bdb4a2cd3d1fbbde2 URL: https://gitlab.winehq.org/wine/wine/-/commit/a0a4c2fb3f1f73dce48bef8bdb4a2cd...
Author: Brendan Shanks bshanks@codeweavers.com Date: Mon Nov 28 09:00:10 2022 -0800
include: Add __WINE_(DEALLOC|MALLOC) attributes to wine_get_(dos|unix)_file_name.
---
include/winbase.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/winbase.h b/include/winbase.h index 7d7be1ae2a8..1d135a87fd7 100644 --- a/include/winbase.h +++ b/include/winbase.h @@ -2963,8 +2963,8 @@ WINBASEAPI UINT WINAPI _lwrite(HFILE,LPCSTR,UINT);
/* Wine internal functions */
-extern char * CDECL wine_get_unix_file_name( LPCWSTR dos ); -extern WCHAR * CDECL wine_get_dos_file_name( LPCSTR str ); +extern char * CDECL wine_get_unix_file_name( const WCHAR * ) __WINE_DEALLOC(HeapFree,3) __WINE_MALLOC; +extern WCHAR * CDECL wine_get_dos_file_name( const char * ) __WINE_DEALLOC(HeapFree,3) __WINE_MALLOC;
#ifdef WINE_UNIX_LIB