summaryrefslogtreecommitdiff
path: root/synth/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'synth/main.cpp')
-rw-r--r--synth/main.cpp3
1 files changed, 3 insertions, 0 deletions
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;
}