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