fix crash caused by not explicitly deleting the line component of a Marker (#8737)
This commit is contained in:
parent
47b06afc9d
commit
11798f7e86
@ -331,6 +331,10 @@ ArdourMarker::~ArdourMarker ()
|
|||||||
{
|
{
|
||||||
CatchDeletion (this); /* EMIT SIGNAL */
|
CatchDeletion (this); /* EMIT SIGNAL */
|
||||||
|
|
||||||
|
/* not a member of a group that we own, so we must delete it explicitly */
|
||||||
|
|
||||||
|
delete _track_canvas_line;
|
||||||
|
|
||||||
/* destroying the parent group destroys its contents, namely any polygons etc. that we added */
|
/* destroying the parent group destroys its contents, namely any polygons etc. that we added */
|
||||||
delete group;
|
delete group;
|
||||||
delete points;
|
delete points;
|
||||||
|
Loading…
Reference in New Issue
Block a user