From 49aa8c0e5888b8242e1fbb74401befb2937c4e02 Mon Sep 17 00:00:00 2001 From: falkTX Date: Tue, 22 Jan 2019 20:48:13 +0100 Subject: [PATCH] Forgot to allocate memory... Signed-off-by: falkTX --- source/backend/plugin/CarlaPluginLV2.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/backend/plugin/CarlaPluginLV2.cpp b/source/backend/plugin/CarlaPluginLV2.cpp index c91c49764..8af95e039 100644 --- a/source/backend/plugin/CarlaPluginLV2.cpp +++ b/source/backend/plugin/CarlaPluginLV2.cpp @@ -2531,7 +2531,10 @@ public: } if (fExt.worker != nullptr) + { fAtomBufferWorker.createBuffer(eventBufferSize); + fAtomBufferWorkerTmpData = new uint8_t[fAtomBufferWorker.getSize()]; + } if (fUI.type != UI::TYPE_NULL && fEventsIn.count > 0 && (fEventsIn.data[0].type & CARLA_EVENT_DATA_ATOM) != 0) fAtomBufferUiIn.createBuffer(eventBufferSize);