From ce45bc565d071fc4ccc56619aebde2007d922d68 Mon Sep 17 00:00:00 2001 From: falkTX Date: Thu, 3 Apr 2025 11:16:52 +0200 Subject: [PATCH] Fix a leak in the last commit Signed-off-by: falkTX --- distrho/src/DistrhoPluginAU.cpp | 3 +++ 1 file changed, 3 insertions(+) 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