Merge pull request #64461 from bitsawer/fix_windows_list_dir
Fix Windows list dir handle leak
This commit is contained in:
commit
47d3fd99a2
@ -402,6 +402,8 @@ DirAccessWindows::DirAccessWindows() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
DirAccessWindows::~DirAccessWindows() {
|
DirAccessWindows::~DirAccessWindows() {
|
||||||
|
list_dir_end();
|
||||||
|
|
||||||
memdelete(p);
|
memdelete(p);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user