From 24adeb18c63bacdd229d8689c635f7d6b38fe132 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20K=C3=BCpper?= Date: Sun, 25 Aug 2013 15:25:40 +0200 Subject: [PATCH] Undo changes (pt. 2) --- Vocaluxe/Lib/Input/CHIDAPI.cs | 2 ++ 1 file changed, 2 insertions(+) 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; }