summaryrefslogtreecommitdiffstats
path: root/src/engine/events/CreateNode.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-10-21 02:10:24 +0000
committerDavid Robillard <d@drobilla.net>2009-10-21 02:10:24 +0000
commit20714a82da8b6c808be5f17d7add9e164ab154e3 (patch)
tree157c5f1b5c99be6c32064da059e5b9b6283ad50f /src/engine/events/CreateNode.hpp
parenta0108c19c4704316a02c85676af349acdda29d72 (diff)
downloadingen-20714a82da8b6c808be5f17d7add9e164ab154e3.tar.gz
ingen-20714a82da8b6c808be5f17d7add9e164ab154e3.tar.bz2
ingen-20714a82da8b6c808be5f17d7add9e164ab154e3.zip
Fix crash when plugins fail to instantiate.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2199 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/events/CreateNode.hpp')
-rw-r--r--src/engine/events/CreateNode.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/engine/events/CreateNode.hpp b/src/engine/events/CreateNode.hpp
index e44008e4..8f2379b0 100644
--- a/src/engine/events/CreateNode.hpp
+++ b/src/engine/events/CreateNode.hpp
@@ -25,6 +25,7 @@
namespace Ingen {
class PatchImpl;
+class PluginImpl;
class NodeImpl;
class CompiledPatch;
@@ -59,6 +60,7 @@ private:
std::string _plugin_label;
bool _polyphonic;
PatchImpl* _patch;
+ PluginImpl* _plugin;
NodeImpl* _node;
CompiledPatch* _compiled_patch; ///< Patch's new process order
bool _node_already_exists;