diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/LV2Features.cpp | 7 | ||||
-rw-r--r-- | src/server/events/Delta.cpp | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/src/LV2Features.cpp b/src/LV2Features.cpp index e9ba29e7..3465981e 100644 --- a/src/LV2Features.cpp +++ b/src/LV2Features.cpp @@ -22,6 +22,13 @@ using namespace std; namespace Ingen { +void +LV2Features::Feature::free_feature(LV2_Feature* feature) +{ + free(feature->data); + free(feature); +} + LV2Features::LV2Features() { } diff --git a/src/server/events/Delta.cpp b/src/server/events/Delta.cpp index 898fd971..e41d6a87 100644 --- a/src/server/events/Delta.cpp +++ b/src/server/events/Delta.cpp @@ -639,8 +639,6 @@ Delta::post_process() void Delta::undo(Interface& target) { - const Ingen::URIs& uris = _engine.world()->uris(); - if (_create_event) { _create_event->undo(target); } else if (_type == Type::PATCH) { |