mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
[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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user