diff --git a/Vocaluxe/Lib/Input/CHIDAPI.cs b/Vocaluxe/Lib/Input/CHIDAPI.cs index 8dc12659..1ec63509 100644 --- a/Vocaluxe/Lib/Input/CHIDAPI.cs +++ b/Vocaluxe/Lib/Input/CHIDAPI.cs @@ -178,6 +178,8 @@ namespace Vocaluxe.Lib.Input else data = null; + Marshal.FreeHGlobal(dataPtr); + return result; }