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