Browse Source

Forgot to allocate memory...

Signed-off-by: falkTX <falktx@gmail.com>
tags/v2.1-alpha1-winvst
falkTX 5 years ago
parent
commit
49aa8c0e58
Signed by: falkTX <falktx@gmail.com> GPG Key ID: 2D3445A829213837
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      source/backend/plugin/CarlaPluginLV2.cpp

+ 3
- 0
source/backend/plugin/CarlaPluginLV2.cpp View File

@@ -2531,7 +2531,10 @@ public:
} }


if (fExt.worker != nullptr) if (fExt.worker != nullptr)
{
fAtomBufferWorker.createBuffer(eventBufferSize); 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) if (fUI.type != UI::TYPE_NULL && fEventsIn.count > 0 && (fEventsIn.data[0].type & CARLA_EVENT_DATA_ATOM) != 0)
fAtomBufferUiIn.createBuffer(eventBufferSize); fAtomBufferUiIn.createBuffer(eventBufferSize);


Loading…
Cancel
Save