From e68c45396bce7523f706df0b02a78cb08ac8d1cc Mon Sep 17 00:00:00 2001 From: Florian Jung Date: Sun, 9 Jan 2011 18:08:06 +0100 Subject: Loaded note-shared-objects are now unloaded --- synth/main.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'synth/main.cpp') diff --git a/synth/main.cpp b/synth/main.cpp index 646e371..25287eb 100644 --- a/synth/main.cpp +++ b/synth/main.cpp @@ -186,6 +186,9 @@ void cleanup() channel[i]=NULL; } + for (int i=0;i<128;i++) + maybe_unload_note(program_settings[i]); + delete [] program_settings; } -- cgit v1.2.3