[c,attributes] mark functions with attirbute malloc

This commit is contained in:
akallabeth
2025-11-07 11:17:08 +01:00
parent 33097cbde4
commit ce87165719
2 changed files with 3 additions and 0 deletions

View File

@@ -783,6 +783,7 @@ extern "C"
* in case of an error.
* @since version 3.16.0
*/
WINPR_ATTR_MALLOC(free, 1)
FREERDP_API char* freerdp_settings_serialize(const rdpSettings* settings, BOOL pretty,
size_t* plength);