diff options
Diffstat (limited to 'backends')
-rw-r--r-- | backends/midi/alsa.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/backends/midi/alsa.cpp b/backends/midi/alsa.cpp index bf312fb02e..406e52243b 100644 --- a/backends/midi/alsa.cpp +++ b/backends/midi/alsa.cpp @@ -76,6 +76,7 @@ private: MidiDriver_ALSA::MidiDriver_ALSA() : _isOpen(false), seq_handle(0), seq_client(0), seq_port(0), my_client(0), my_port(0) { + memset(&ev, 0, sizeof(ev)); } int MidiDriver_ALSA::open() { |