diff options
| author | Wilson E. Alvarez | 2017-08-24 12:51:28 -0400 |
|---|---|---|
| committer | Wilson E. Alvarez | 2017-08-25 08:47:05 -0400 |
| commit | 1577f4165374fc7c6d7f3031e463f0aab6e96faa (patch) | |
| tree | 82bae3af4e17409446b8f11d69ee1bd0c61fcb36 /editor/editor_settings.cpp | |
| parent | 3ea0943f645e5fda0b1bb68415e9c92ed4cf97dd (diff) | |
| download | godot-1577f4165374fc7c6d7f3031e463f0aab6e96faa.tar.gz godot-1577f4165374fc7c6d7f3031e463f0aab6e96faa.tar.zst godot-1577f4165374fc7c6d7f3031e463f0aab6e96faa.zip | |
Fixed several memory leaks
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 358d57576..d14443e7c 100644 --- a/editor/editor_settings.cpp +++ b/editor/editor_settings.cpp @@ -253,6 +253,7 @@ static void _create_script_templates(const String &p_path) { } } + memdelete(dir); memdelete(file); } @@ -280,6 +281,7 @@ void EditorSettings::create() { self_contained = true; extra_config->load(exe_path + "/_sc_"); } + memdelete(d); if (self_contained) { // editor is self contained |
