From f56d13280baee304ebcb6eb92aaaa0409f8674a9 Mon Sep 17 00:00:00 2001 From: Luciano Iam Date: Sun, 30 Jan 2022 11:42:02 +0100 Subject: [PATCH] VST3: safer dealloc of dummy audio buffer Fix crash described at https://github.com/DISTRHO/DPF/issues/364 --- distrho/src/DistrhoPluginVST3.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/distrho/src/DistrhoPluginVST3.cpp b/distrho/src/DistrhoPluginVST3.cpp index 033d4e7d..0b53a117 100644 --- a/distrho/src/DistrhoPluginVST3.cpp +++ b/distrho/src/DistrhoPluginVST3.cpp @@ -1071,9 +1071,6 @@ public: else { fPlugin.deactivateIfNeeded(); - - delete[] fDummyAudioBuffer; - fDummyAudioBuffer = nullptr; } return V3_OK;