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/Patchage.cpp | |
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/Patchage.cpp')
-rw-r--r-- | src/Patchage.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
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(); } |