mirror of
https://github.com/godotengine/godot.git
synced 2025-10-31 21:51:22 +00:00
Merge pull request #10625 from Rubonnek/fixed-leaks
Fixed several memory leaks
This commit is contained in:
commit
5976e8d7de
7 changed files with 13 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue