DPF

DISTRHO Plugin Framework
Log | Files | Refs | Submodules | README | LICENSE

commit 65440847faef769cfcb07a94009642341820dd63
parent 249c2e047060e105122698dfabfc979dcb8cbcb7
Author: falkTX <falktx@falktx.com>
Date:   Tue,  8 Feb 2022 23:07:19 +0000

Fix a leak

Signed-off-by: falkTX <falktx@falktx.com>

Diffstat:
Mdistrho/src/DistrhoPluginLV2.cpp | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/distrho/src/DistrhoPluginLV2.cpp b/distrho/src/DistrhoPluginLV2.cpp @@ -184,6 +184,12 @@ public: fNeededUiSends = nullptr; } + if (fUrids != nullptr) + { + delete[] fUrids; + fUrids = nullptr; + } + fStateMap.clear(); #endif }