mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
[winpr,file] mark winpr_fopen with WINPR_ATTR_MALLOC
enable allocator/deallocator checks for FILE* created by this function
This commit is contained in:
@@ -550,6 +550,7 @@ extern "C"
|
||||
WINPR_API int GetNamePipeFileDescriptor(HANDLE hNamedPipe);
|
||||
WINPR_API HANDLE GetFileHandleForFileDescriptor(int fd);
|
||||
|
||||
WINPR_ATTR_MALLOC(fclose, 1)
|
||||
WINPR_API FILE* winpr_fopen(const char* path, const char* mode);
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
Reference in New Issue
Block a user