Fix Windows list dir handle leak

(cherry picked from commit 40325006b6c08c32b3db9dfd901e54d44b9d4dc3)
This commit is contained in:
bitsawer 2022-08-15 20:27:29 +03:00 committed by Relintai
parent d8046a2bad
commit fefc436645

View File

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