summaryrefslogtreecommitdiffstats
path: root/src/PatchageModule.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-12-05 23:48:39 +0000
committerDavid Robillard <d@drobilla.net>2011-12-05 23:48:39 +0000
commit3fed69e2ebb44d369a1226aa68fd2d4b2cf34d1c (patch)
treed4d440486152a32f35274b66b4e6e8e12d7277c7 /src/PatchageModule.cpp
parent997b406e7d71e335c62e7e1f5f0f87303b121b17 (diff)
downloadpatchage-3fed69e2ebb44d369a1226aa68fd2d4b2cf34d1c.tar.gz
patchage-3fed69e2ebb44d369a1226aa68fd2d4b2cf34d1c.tar.bz2
patchage-3fed69e2ebb44d369a1226aa68fd2d4b2cf34d1c.zip
Remove cruft.
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3811 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/PatchageModule.cpp')
-rw-r--r--src/PatchageModule.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/PatchageModule.cpp b/src/PatchageModule.cpp
index 6ebf335..2d53a27 100644
--- a/src/PatchageModule.cpp
+++ b/src/PatchageModule.cpp
@@ -32,6 +32,7 @@ PatchageModule::PatchageModule(
PatchageModule::~PatchageModule()
{
+ _app->canvas()->remove_module(this);
delete _menu;
_menu = NULL;
}