[build] fix Wmismatched-deallocator warnings

With custom malloc function attributes the fail path in the _New
functions produces warnings due to allocator mismatches. Silence them.
This commit is contained in:
akallabeth
2024-02-04 11:11:29 +01:00
committed by akallabeth
parent 763462d0a9
commit ba8cf8cf21
64 changed files with 266 additions and 8 deletions

View File

@@ -48,7 +48,7 @@ extern "C"
FREERDP_API freerdp_certificate_store_result freerdp_certificate_store_contains_data(
rdpCertificateStore* store, const rdpCertificateData* data);
WINPR_ATTR_MALLOC(freerdp_certificate_store_free, 1)
WINPR_ATTR_MALLOC(freerdp_certificate_data_free, 1)
FREERDP_API rdpCertificateData*
freerdp_certificate_store_load_data(rdpCertificateStore* store, const char* host, UINT16 port);