Skip to content

Commit

Permalink
Fix handle leak introduced by auto_execok fix. Thanks @chw
Browse files Browse the repository at this point in the history
  • Loading branch information
apnadkarni committed Jan 29, 2025
1 parent 8aa73ba commit 581f5e0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions win/tclWinPipe.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 581f5e0

Please sign in to comment.