You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Merge pull request #10625 from Rubonnek/fixed-leaks
Fixed several memory leaks
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user