Browse Source

Fix latency mem leak

pull/2/head
falkTX 9 years ago
parent
commit
a2ede9ddb2
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      plugins/Latency/LatencyExamplePlugin.cpp

+ 5
- 0
plugins/Latency/LatencyExamplePlugin.cpp View File

@@ -37,6 +37,11 @@ public:
sampleRateChanged(getSampleRate()); sampleRateChanged(getSampleRate());
} }
~LatencyExamplePlugin() override
{
delete[] fBuffer;
}
protected: protected:
/* -------------------------------------------------------------------------------------------------------- /* --------------------------------------------------------------------------------------------------------
* Information */ * Information */


Loading…
Cancel
Save