diff options
author | David Robillard <d@drobilla.net> | 2012-12-21 06:22:49 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-12-21 06:22:49 +0000 |
commit | 7c8166d2eab084fe4abdc0bf4045641a2809e4f9 (patch) | |
tree | 1c269a9f666500980ea00cec22a9debf4e174be8 /src/World.cpp | |
parent | f67344b4c6c7df01dd1e9f3023fa20416103cb6a (diff) | |
download | ingen-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.cpp | 8 |
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> |