diff --git a/platform/windows/os_windows.cpp b/platform/windows/os_windows.cpp index 7a56eb9be8a..46ac93ef8ef 100644 --- a/platform/windows/os_windows.cpp +++ b/platform/windows/os_windows.cpp @@ -1757,6 +1757,7 @@ void OS_Windows::finalize() { memdelete(input); touch_state.clear(); + icon.unref(); cursors_cache.clear(); visual_server->finish(); memdelete(visual_server);