diff options
author | David Robillard <d@drobilla.net> | 2016-08-01 13:01:42 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-08-01 13:01:42 -0400 |
commit | 1a4e4a79991932714e39ef44b9f5ba1ca4c6c251 (patch) | |
tree | e1dc0adab0728aef11c6668e7aefdd643fdd05b7 /src | |
parent | 902703efa9425a0630053c10229de911e23a2a43 (diff) | |
download | ingen-1a4e4a79991932714e39ef44b9f5ba1ca4c6c251.tar.gz ingen-1a4e4a79991932714e39ef44b9f5ba1ca4c6c251.tar.bz2 ingen-1a4e4a79991932714e39ef44b9f5ba1ca4c6c251.zip |
Fix compilation on OSX
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) { |