Merge pull request #10625 from Rubonnek/fixed-leaks

Fixed several memory leaks
This commit is contained in:
Rémi Verschelde 2017-08-27 02:10:32 +02:00 committed by GitHub
commit 5976e8d7de
7 changed files with 13 additions and 1 deletions

View file

@ -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