summaryrefslogtreecommitdiffstats
path: root/src/server/LV2EventFeature.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/LV2EventFeature.hpp')
-rw-r--r--src/server/LV2EventFeature.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/server/LV2EventFeature.hpp b/src/server/LV2EventFeature.hpp
index 5e2f1f31..4796c6e1 100644
--- a/src/server/LV2EventFeature.hpp
+++ b/src/server/LV2EventFeature.hpp
@@ -34,6 +34,10 @@ struct EventFeature : public Ingen::Shared::LV2Features::Feature {
_feature.data = data;
}
+ ~EventFeature() {
+ free(_feature.data);
+ }
+
static uint32_t event_ref(LV2_Event_Callback_Data callback_data,
LV2_Event* event) { return 0; }