Skip to content
Snippets Groups Projects
Commit 0122bcac authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

Merge branch 'aggraef/purr-data-alsa-midi-bugfix'

parents bd8841ba 88d2f3cb
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -221,9 +221,11 @@ void sys_alsa_close_midi() ...@@ -221,9 +221,11 @@ void sys_alsa_close_midi()
if(midi_handle) if(midi_handle)
{ {
snd_seq_close(midi_handle); snd_seq_close(midi_handle);
midi_handle = NULL;
if(midiev) if(midiev)
{ {
snd_midi_event_free(midiev); snd_midi_event_free(midiev);
midiev = NULL;
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment