From 99d8626f4a313471410db421891e90fe768cd929 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Mikrut?= Date: Wed, 20 Nov 2019 16:22:16 +0100 Subject: Fix some overflows and unitialized variables --- core/project_settings.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core/project_settings.cpp') diff --git a/core/project_settings.cpp b/core/project_settings.cpp index 7704c7b377..ba5cdd782f 100644 --- a/core/project_settings.cpp +++ b/core/project_settings.cpp @@ -525,6 +525,8 @@ Error ProjectSettings::_load_settings_binary(const String &p_path) { set(key, value); } + f->close(); + memdelete(f); return OK; } -- cgit v1.2.3