From 8050c230ded858d59518fce751e28713dd4266f9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 May 2024 03:25:36 +0200 Subject: Adding upstream version 3.5.1+dfsg1. Signed-off-by: Daniel Baumann --- winpr/libwinpr/comm/comm.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'winpr/libwinpr/comm/comm.c') diff --git a/winpr/libwinpr/comm/comm.c b/winpr/libwinpr/comm/comm.c index cd68a40..f891ca7 100644 --- a/winpr/libwinpr/comm/comm.c +++ b/winpr/libwinpr/comm/comm.c @@ -1343,7 +1343,10 @@ HANDLE CommCreateFileA(LPCSTR lpDeviceName, DWORD dwDesiredAccess, DWORD dwShare return (HANDLE)pComm; error_handle: + WINPR_PRAGMA_DIAG_PUSH + WINPR_PRAGMA_DIAG_IGNORED_MISMATCHED_DEALLOC CloseHandle(pComm); + WINPR_PRAGMA_DIAG_POP return INVALID_HANDLE_VALUE; } -- cgit v1.2.3