[PATCH] annotate with allocation size

Marcus Meissner marcus at jet.franken.de
Tue Sep 9 11:36:17 CDT 2008


---
 include/wincrypt.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/wincrypt.h b/include/wincrypt.h
index e6006ee..4b28f93 100644
--- a/include/wincrypt.h
+++ b/include/wincrypt.h
@@ -1082,7 +1082,7 @@ typedef BOOL (WINAPI *PFN_CERT_ENUM_PHYSICAL_STORE)(const void *pvSystemStore,
  void *pvReserved, void *pvArg);
 
 /* Encode/decode object */
-typedef LPVOID (WINAPI *PFN_CRYPT_ALLOC)(size_t cbsize);
+typedef LPVOID (__WINE_ALLOC_SIZE(1) WINAPI *PFN_CRYPT_ALLOC)(size_t cbsize);
 typedef VOID   (WINAPI *PFN_CRYPT_FREE)(LPVOID pv);
 
 typedef struct _CRYPT_ENCODE_PARA {
-- 
1.5.6



More information about the wine-patches mailing list