diff options
author | David Robillard <d@drobilla.net> | 2010-12-14 22:34:10 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2010-12-14 22:34:10 +0000 |
commit | fb6cff045de58c304527efea4e85d53fd80d2758 (patch) | |
tree | bde8cda1d44272664c68fb3e5d43cbe81339ad79 /src | |
parent | 0f74dbc613eaeedb3cec33d1555083199f44c24f (diff) | |
download | patchage-fb6cff045de58c304527efea4e85d53fd80d2758.tar.gz patchage-fb6cff045de58c304527efea4e85d53fd80d2758.tar.bz2 patchage-fb6cff045de58c304527efea4e85d53fd80d2758.zip |
Fix memory leaks.
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2688 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r-- | src/Driver.hpp | 2 | ||||
-rw-r--r-- | src/Patchage.cpp | 9 |
2 files changed, 8 insertions, 3 deletions
diff --git a/src/Driver.hpp b/src/Driver.hpp index c251309..debcbb8 100644 --- a/src/Driver.hpp +++ b/src/Driver.hpp @@ -43,7 +43,7 @@ public: virtual void detach() = 0; virtual bool is_attached() const = 0; - virtual void refresh() = 0; + virtual void refresh() = 0; virtual void destroy_all() {} virtual boost::shared_ptr<PatchagePort> create_port_view( diff --git a/src/Patchage.cpp b/src/Patchage.cpp index 26d1127..559e125 100644 --- a/src/Patchage.cpp +++ b/src/Patchage.cpp @@ -290,12 +290,16 @@ Patchage::~Patchage() #endif #ifdef HAVE_LASH delete _lash_proxy; + delete _project_list; + delete _session; + delete _dbus; #endif delete _state_manager; - + _about_win.destroy(); _messages_win.destroy(); - //_main_win.destroy(); + + _xml.reset(); } @@ -646,6 +650,7 @@ Patchage::on_quit() _jack_driver->detach(); #endif _main_win->hide(); + _canvas.reset(); } |