diff options
author | David Robillard <d@drobilla.net> | 2012-05-12 00:02:38 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-05-12 00:02:38 +0000 |
commit | eaf3abc571e5c1a60cf6d65d55b3cc496d5e62dd (patch) | |
tree | 7a72b7bddc1278fa85773690d6d3cb30a2de6990 /src/server | |
parent | caecf11ea7ced8e54992cc163b1b88f495f474cf (diff) | |
download | ingen-eaf3abc571e5c1a60cf6d65d55b3cc496d5e62dd.tar.gz ingen-eaf3abc571e5c1a60cf6d65d55b3cc496d5e62dd.tar.bz2 ingen-eaf3abc571e5c1a60cf6d65d55b3cc496d5e62dd.zip |
Fix memory leaks.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4364 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server')
-rw-r--r-- | src/server/Engine.cpp | 2 | ||||
-rw-r--r-- | src/server/NodeFactory.cpp | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/server/Engine.cpp b/src/server/Engine.cpp index 1a57c112..5c90009f 100644 --- a/src/server/Engine.cpp +++ b/src/server/Engine.cpp @@ -90,11 +90,13 @@ Engine::~Engine() i->second.reset(); delete _maid; + delete _pre_processor; delete _post_processor; delete _node_factory; delete _message_context; delete _control_bindings; delete _broadcaster; + delete _event_writer; munlockall(); } diff --git a/src/server/NodeFactory.cpp b/src/server/NodeFactory.cpp index e64257be..d6e0ab2c 100644 --- a/src/server/NodeFactory.cpp +++ b/src/server/NodeFactory.cpp @@ -128,6 +128,7 @@ NodeFactory::load_plugin(const Raul::URI& uri) ingen_plugin->lilv_plugin(plug); _plugins.insert(make_pair(uri, ingen_plugin)); } + lilv_node_free(node); } /** Loads information about all LV2 plugins into internal plugin database. |