ref: 863c3ec94e3237a99acd83935a519813fe0c5b63
parent: 1e7a29a2805e3f696f57c76fdcab3c18a8f5e9c9
author: cancel <cancel@cancel.fm>
date: Sat Jan 25 20:45:00 EST 2020
Cleanup
--- a/tui_main.c
+++ b/tui_main.c
@@ -958,6 +958,7 @@
if (a->oosc_dev) {
oosc_dev_destroy(a->oosc_dev);
}
+ midi_mode_deinit(&a->midi_mode);
}
static bool ged_is_draw_dirty(Ged *a) {
@@ -4028,7 +4029,6 @@
osofree(t.osc_address);
osofree(t.osc_port);
osofree(t.osc_midi_bidule_path);
- midi_mode_deinit(&t.ged.midi_mode);
#ifdef FEAT_PORTMIDI
if (portmidi_is_initialized)
Pm_Terminate();