Fixed several memory leaks
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user