[PATCH 0/1] MR1754: wsdapi: Annotate duplicate_(string|name) with __WINE_MALLOC.
From: Alex Henrie <alexhenrie24(a)gmail.com> --- dlls/wsdapi/wsdapi_internal.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/wsdapi/wsdapi_internal.h b/dlls/wsdapi/wsdapi_internal.h index 2bab54ffda6..b9301501585 100644 --- a/dlls/wsdapi/wsdapi_internal.h +++ b/dlls/wsdapi/wsdapi_internal.h @@ -95,8 +95,8 @@ HRESULT read_message(IWSDiscoveryPublisherImpl *impl, const char *xml, int xml_l /* xml.c */ -LPWSTR duplicate_string(void *parentMemoryBlock, LPCWSTR value); -WSDXML_NAME *duplicate_name(void *parentMemoryBlock, WSDXML_NAME *name); +WCHAR *duplicate_string(void *parent_memory_block, const WCHAR *value) __WINE_MALLOC; +WSDXML_NAME *duplicate_name(void *parent_memory_block, WSDXML_NAME *name) __WINE_MALLOC; WSDXML_NAMESPACE *xml_context_find_namespace_by_prefix(IWSDXMLContext *context, LPCWSTR prefix); #endif -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/1754
participants (2)
-
Alex Henrie -
Alex Henrie (@alexhenrie)