Browse Source

Fix a leak

Signed-off-by: falkTX <falktx@falktx.com>
pull/367/head
falkTX 3 years ago
parent
commit
65440847fa
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      distrho/src/DistrhoPluginLV2.cpp

+ 6
- 0
distrho/src/DistrhoPluginLV2.cpp View File

@@ -184,6 +184,12 @@ public:
fNeededUiSends = nullptr;
}

if (fUrids != nullptr)
{
delete[] fUrids;
fUrids = nullptr;
}

fStateMap.clear();
#endif
}


Loading…
Cancel
Save