diff --git a/distrho/src/DistrhoPluginAU.cpp b/distrho/src/DistrhoPluginAU.cpp index 20cea14d..919faa71 100644 --- a/distrho/src/DistrhoPluginAU.cpp +++ b/distrho/src/DistrhoPluginAU.cpp @@ -1685,6 +1685,9 @@ public: fStateMap[dkey] = value; fPlugin.setState(dkey, value); + + std::free(key); + std::free(value); } return noErr; #else