From 066d8abfaa963b91be11c9da384dc6ed5af1ddd2 Mon Sep 17 00:00:00 2001 From: Volker Fischer Date: Sat, 4 Jul 2015 07:56:53 +0000 Subject: [PATCH] use jack_free instead of free --- linux/sound.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/linux/sound.cpp b/linux/sound.cpp index 9553eba9..19908000 100755 --- a/linux/sound.cpp +++ b/linux/sound.cpp @@ -125,8 +125,7 @@ void CSound::OpenJack() } } -// TODO shouldn't we call jack_free() function instead? - free ( ports ); + jack_free ( ports ); } // try to connect physical output ports @@ -154,8 +153,7 @@ void CSound::OpenJack() } } -// TODO shouldn't we call jack_free() function instead? - free ( ports ); + jack_free ( ports ); } }