From 581f5e0a328421b5db07fd1ff0a0def05dc3895c Mon Sep 17 00:00:00 2001 From: apnadkarni Date: Wed, 29 Jan 2025 05:24:06 +0000 Subject: [PATCH] Fix handle leak introduced by auto_execok fix. Thanks @chw --- win/tclWinPipe.c | 1 + 1 file changed, 1 insertion(+) diff --git a/win/tclWinPipe.c b/win/tclWinPipe.c index 869ff2b8f89..22b20b8f2bf 100644 --- a/win/tclWinPipe.c +++ b/win/tclWinPipe.c @@ -1332,6 +1332,7 @@ ApplicationType( * that if it is on the PATH, and it is a reparse point, it is an * App Execution Alias. */ + CloseHandle(hFile); applType = APPL_WIN32; break; }