[freerdp] mark all WINPR_ATTR_MALLOC also nodiscard

This commit is contained in:
akallabeth
2026-01-26 13:08:35 +01:00
parent 460ca149f2
commit 7990eec166
102 changed files with 232 additions and 12 deletions

View File

@@ -28,6 +28,7 @@
#if !defined(WITH_FULL_CONFIG_PATH)
WINPR_ATTR_MALLOC(free, 1)
WINPR_ATTR_NODISCARD
static char* freerdp_settings_get_legacy_config_path(const char* filename)
{
char product[sizeof(FREERDP_PRODUCT_STRING)] = { 0 };