Skip to content

Commit

Permalink
Fix Windows list dir handle leak
Browse files Browse the repository at this point in the history
  • Loading branch information
bitsawer committed Aug 15, 2022
1 parent 4dbb6ec commit 4032500
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 4032500

Please sign in to comment.