Merge pull request #64461 from bitsawer/fix_windows_list_dir
Fix Windows list dir handle leak
This commit is contained in:
commit
47d3fd99a2
1 changed files with 2 additions and 0 deletions
|
|
@ -402,6 +402,8 @@ DirAccessWindows::DirAccessWindows() {
|
|||
}
|
||||
|
||||
DirAccessWindows::~DirAccessWindows() {
|
||||
list_dir_end();
|
||||
|
||||
memdelete(p);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue