summaryrefslogtreecommitdiffstats
path: root/src/World.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-12-21 06:22:49 +0000
committerDavid Robillard <d@drobilla.net>2012-12-21 06:22:49 +0000
commit7c8166d2eab084fe4abdc0bf4045641a2809e4f9 (patch)
tree1c269a9f666500980ea00cec22a9debf4e174be8 /src/World.cpp
parentf67344b4c6c7df01dd1e9f3023fa20416103cb6a (diff)
downloadingen-7c8166d2eab084fe4abdc0bf4045641a2809e4f9.tar.gz
ingen-7c8166d2eab084fe4abdc0bf4045641a2809e4f9.tar.bz2
ingen-7c8166d2eab084fe4abdc0bf4045641a2809e4f9.zip
Fix memory leaks.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4873 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/World.cpp')
-rw-r--r--src/World.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/World.cpp b/src/World.cpp
index bcdc4d70..0ad655a9 100644
--- a/src/World.cpp
+++ b/src/World.cpp
@@ -143,8 +143,8 @@ public:
serialiser.reset();
parser.reset();
interface.reset();
- engine.reset();
store.reset();
+ engine.reset();
interface_factories.clear();
script_runners.clear();
@@ -276,12 +276,6 @@ World::run_module(const char* name)
return true;
}
-void
-World::unload_modules()
-{
- _impl->modules.clear();
-}
-
/** Get an interface for a remote engine at @a url
*/
SharedPtr<Interface>