diff --git a/ChangeLog b/ChangeLog index 06f23ba75..b5fa35216 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-07-05 Tobias Doerffel + + * include/inline_automation.h: + delete automation-pattern is in correct thread (closes #2008232) + 2008-07-04 Tobias Doerffel * include/track.h: diff --git a/include/inline_automation.h b/include/inline_automation.h index bcb37b55e..89fcda266 100644 --- a/include/inline_automation.h +++ b/include/inline_automation.h @@ -42,7 +42,10 @@ public: virtual ~inlineAutomation() { - delete m_autoPattern; + if( m_autoPattern ) + { + m_autoPattern->deleteLater(); + } } inline bool hasAutomation( void ) const