Skip to content

Commit

Permalink
Merge pull request #64461 from bitsawer/fix_windows_list_dir
Browse files Browse the repository at this point in the history
Fix Windows list dir handle leak
  • Loading branch information
mhilbrunner authored Aug 19, 2022
2 parents 79717dc + 4032500 commit 47d3fd9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/windows/dir_access_windows.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,8 @@ DirAccessWindows::DirAccessWindows() {
}

DirAccessWindows::~DirAccessWindows() {
list_dir_end();

memdelete(p);
}

Expand Down

0 comments on commit 47d3fd9

Please sign in to comment.