mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
[freerdp] mark all WINPR_ATTR_MALLOC also nodiscard
This commit is contained in:
@@ -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 };
|
||||
|
||||
Reference in New Issue
Block a user