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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user