13
0

Fix double free, heap-use-after-free

_canvas_grid_zone and _section_box are destroyed when the
Canvas Container (here: `_track_canvas_viewport`) deletes
child items.
This commit is contained in:
Robin Gareus 2023-10-11 15:58:57 +02:00
parent f83fe558e1
commit 653cd3fa17
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -917,12 +917,10 @@ Editor::~Editor()
delete _snapshots;
delete _sections;
delete _locations;
delete _canvas_grid_zone;
delete _properties_box;
delete selection;
delete cut_buffer;
delete _cursors;
delete _section_box;
LuaInstance::destroy_instance ();