diff --git a/winpr/include/winpr/file.h b/winpr/include/winpr/file.h index 09aa2c223..3c7466c81 100644 --- a/winpr/include/winpr/file.h +++ b/winpr/include/winpr/file.h @@ -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