[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

@@ -65,6 +65,7 @@ FREERDP_LOCAL BOOL input_register_client_callbacks(rdpInput* input);
FREERDP_LOCAL void input_free(rdpInput* input);
WINPR_ATTR_MALLOC(input_free, 1)
WINPR_ATTR_NODISCARD
FREERDP_LOCAL rdpInput* input_new(rdpRdp* rdp);
#endif /* FREERDP_LIB_CORE_INPUT_H */