Fix Windows list dir handle leak

(cherry picked from commit 40325006b6)
This commit is contained in:
bitsawer 2022-08-15 20:27:29 +03:00 committed by Rémi Verschelde
parent cfa9b772da
commit c8810395a2
1 changed files with 2 additions and 0 deletions

View File

@ -403,6 +403,8 @@ DirAccessWindows::DirAccessWindows() {
}
DirAccessWindows::~DirAccessWindows() {
list_dir_end();
memdelete(p);
}