diff options
Diffstat (limited to 'editor/editor_settings.cpp')
-rw-r--r-- | editor/editor_settings.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/editor_settings.cpp b/editor/editor_settings.cpp index f8c37d586d..c30ffd4b4e 100644 --- a/editor/editor_settings.cpp +++ b/editor/editor_settings.cpp @@ -260,6 +260,7 @@ static void _create_script_templates(const String &p_path) { } } + memdelete(dir); memdelete(file); } @@ -286,6 +287,7 @@ void EditorSettings::create() { self_contained = true; extra_config->load(exe_path + "/_sc_"); } + memdelete(d); if (self_contained) { // editor is self contained |