Fix Windows list dir handle leak
(cherry picked from commit 40325006b6
)
This commit is contained in:
parent
cfa9b772da
commit
c8810395a2
|
@ -403,6 +403,8 @@ DirAccessWindows::DirAccessWindows() {
|
|||
}
|
||||
|
||||
DirAccessWindows::~DirAccessWindows() {
|
||||
list_dir_end();
|
||||
|
||||
memdelete(p);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue