diff options
author | David Robillard <d@drobilla.net> | 2020-11-11 23:24:34 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-11-11 23:24:34 +0100 |
commit | 4de692ccf8c97cb156029375a10fc6a2aa2928fe (patch) | |
tree | 87fcf0bb3d1829216a524b6fda13449a292d901a /src/server/events/Delta.hpp | |
parent | 09e544df518d3ce91744606460553c8ca8b148d3 (diff) | |
download | ingen-4de692ccf8c97cb156029375a10fc6a2aa2928fe.tar.gz ingen-4de692ccf8c97cb156029375a10fc6a2aa2928fe.tar.bz2 ingen-4de692ccf8c97cb156029375a10fc6a2aa2928fe.zip |
Fix potential state memory leaks
Diffstat (limited to 'src/server/events/Delta.hpp')
-rw-r--r-- | src/server/events/Delta.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/events/Delta.hpp b/src/server/events/Delta.hpp index 4d749f02..fc4716f2 100644 --- a/src/server/events/Delta.hpp +++ b/src/server/events/Delta.hpp @@ -17,6 +17,7 @@ #ifndef INGEN_EVENTS_DELTA_HPP #define INGEN_EVENTS_DELTA_HPP +#include "BlockImpl.hpp" #include "ClientUpdate.hpp" #include "CompiledGraph.hpp" #include "ControlBindings.hpp" @@ -119,7 +120,7 @@ private: GraphImpl* _graph; Raul::managed_ptr<CompiledGraph> _compiled_graph; ControlBindings::Binding* _binding; - LilvState* _state; + StatePtr _state; Resource::Graph _context; Type _type; |