From 437bcf86fb37edeb431c70f95edcc2e4ed559286 Mon Sep 17 00:00:00 2001 From: Danny McRae Date: Tue, 15 Aug 2006 12:36:44 +0000 Subject: [PATCH] rack_plugin deletes control view when destroyed git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@327 0778d3d1-df1d-0410-868b-ea421aaaa00d --- ChangeLog | 5 +++++ src/widgets/rack_plugin.cpp | 1 + 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index ebfc10607e..3bd17934be 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-08-15 Danny McRae + * src/widgets/rack_plugin.cpp: + added deletion of the control view to the dtor to make it clean + up after itself + 2006-08-11 Tobias Doerffel * Makefile.cvs: diff --git a/src/widgets/rack_plugin.cpp b/src/widgets/rack_plugin.cpp index 65be8b2ac3..92e70302d3 100644 --- a/src/widgets/rack_plugin.cpp +++ b/src/widgets/rack_plugin.cpp @@ -202,6 +202,7 @@ rackPlugin::rackPlugin( QWidget * _parent, ladspa_key_t _key, track * _track, en rackPlugin::~rackPlugin() { delete m_effect; + delete m_controlView; }