Module: wine Branch: master Commit: 93a2fb604f925631d9d04048799f83bfe1b7539d URL: https://gitlab.winehq.org/wine/wine/-/commit/93a2fb604f925631d9d04048799f83b...
Author: Alex Henrie alexhenrie24@gmail.com Date: Mon Nov 28 20:49:19 2022 -0700
include: Annotate StrDup[AW] with __WINE_MALLOC and __WINE_DEALLOC.
---
include/shlwapi.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/shlwapi.h b/include/shlwapi.h index 6149c7081a3..cfebe238615 100644 --- a/include/shlwapi.h +++ b/include/shlwapi.h @@ -838,8 +838,8 @@ INT WINAPI StrCmpNIW(LPCWSTR,LPCWSTR,INT); #define StrCmpNI WINELIB_NAME_AW(StrCmpNI) #define StrNCmpI WINELIB_NAME_AW(StrCmpNI)
-LPSTR WINAPI StrDupA(LPCSTR); -LPWSTR WINAPI StrDupW(LPCWSTR); +char * WINAPI StrDupA(const char *) __WINE_DEALLOC(LocalFree) __WINE_MALLOC; +WCHAR * WINAPI StrDupW(const WCHAR *) __WINE_DEALLOC(LocalFree) __WINE_MALLOC; #define StrDup WINELIB_NAME_AW(StrDup)
HRESULT WINAPI SHStrDupA(LPCSTR,WCHAR**);