diff options
author | bitsawer <sawerduster@gmail.com> | 2022-08-15 20:27:29 +0300 |
---|---|---|
committer | bitsawer <sawerduster@gmail.com> | 2022-08-15 20:27:29 +0300 |
commit | 40325006b6c08c32b3db9dfd901e54d44b9d4dc3 (patch) | |
tree | b424e459d2eb74d6e4e8d94b7842b7921bf925ae | |
parent | 4dbb6ecc214375e107427976c19206563a810a43 (diff) |
Fix Windows list dir handle leak
-rw-r--r-- | drivers/windows/dir_access_windows.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/windows/dir_access_windows.cpp b/drivers/windows/dir_access_windows.cpp index 881575d245..2125709b32 100644 --- a/drivers/windows/dir_access_windows.cpp +++ b/drivers/windows/dir_access_windows.cpp @@ -402,6 +402,8 @@ DirAccessWindows::DirAccessWindows() { } DirAccessWindows::~DirAccessWindows() { + list_dir_end(); + memdelete(p); } |