Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
godot
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
community
godot
Commits
5976e8d7
Commit
5976e8d7
authored
Aug 27, 2017
by
Rémi Verschelde
Committed by
GitHub
Aug 27, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #10625 from Rubonnek/fixed-leaks
Fixed several memory leaks
parents
e8345c82
1577f416
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
13 additions
and
1 deletion
+13
-1
editor_help.cpp
editor/editor_help.cpp
+0
-1
editor_node.cpp
editor/editor_node.cpp
+1
-0
editor_settings.cpp
editor/editor_settings.cpp
+2
-0
canvas_item_editor_plugin.cpp
editor/plugins/canvas_item_editor_plugin.cpp
+4
-0
canvas_item_editor_plugin.h
editor/plugins/canvas_item_editor_plugin.h
+1
-0
script_create_dialog.cpp
editor/script_create_dialog.cpp
+3
-0
os_x11.cpp
platform/x11/os_x11.cpp
+2
-0
No files found.
editor/editor_help.cpp
View file @
5976e8d7
...
...
@@ -294,7 +294,6 @@ EditorHelpSearch::EditorHelpSearch() {
VBoxContainer
*
vbc
=
memnew
(
VBoxContainer
);
add_child
(
vbc
);
HBoxContainer
*
sb_hb
=
memnew
(
HBoxContainer
);
search_box
=
memnew
(
LineEdit
);
vbc
->
add_child
(
search_box
);
search_box
->
connect
(
"text_changed"
,
this
,
"_text_changed"
);
...
...
editor/editor_node.cpp
View file @
5976e8d7
...
...
@@ -5484,6 +5484,7 @@ EditorNode::~EditorNode() {
memdelete
(
editor_plugins_over
);
memdelete
(
editor_plugins_force_input_forwarding
);
memdelete
(
file_server
);
memdelete
(
progress_hb
);
EditorSettings
::
destroy
();
}
...
...
editor/editor_settings.cpp
View file @
5976e8d7
...
...
@@ -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
...
...
editor/plugins/canvas_item_editor_plugin.cpp
View file @
5976e8d7
...
...
@@ -4102,3 +4102,7 @@ CanvasItemEditorViewport::CanvasItemEditorViewport(EditorNode *p_node, CanvasIte
label_desc
->
hide
();
editor
->
get_gui_base
()
->
add_child
(
label_desc
);
}
CanvasItemEditorViewport
::~
CanvasItemEditorViewport
()
{
memdelete
(
preview
);
}
editor/plugins/canvas_item_editor_plugin.h
View file @
5976e8d7
...
...
@@ -512,6 +512,7 @@ public:
virtual
void
drop_data
(
const
Point2
&
p_point
,
const
Variant
&
p_data
);
CanvasItemEditorViewport
(
EditorNode
*
p_node
,
CanvasItemEditor
*
p_canvas
);
~
CanvasItemEditorViewport
();
};
#endif
editor/script_create_dialog.cpp
View file @
5976e8d7
...
...
@@ -591,6 +591,9 @@ ScriptCreateDialog::ScriptCreateDialog() {
hb
->
add_child
(
vb
);
hb
->
add_child
(
empty_v
->
duplicate
());
memdelete
(
empty_h
);
memdelete
(
empty_v
);
add_child
(
hb
);
/* Language */
...
...
platform/x11/os_x11.cpp
View file @
5976e8d7
...
...
@@ -538,6 +538,8 @@ void OS_X11::finalize() {
physics_2d_server
->
finish
();
memdelete
(
physics_2d_server
);
memdelete
(
power_manager
);
if
(
xrandr_handle
)
dlclose
(
xrandr_handle
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment