From 7c26b6ee0a6ed9193dd7762df38c65ffdffe3d7c Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Thu, 2 May 2013 14:01:13 +0300 Subject: AUDIO: Fix unitialized variable. CID 1003162 --- audio/midiparser.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'audio') diff --git a/audio/midiparser.cpp b/audio/midiparser.cpp index eec32c05d1..9c144c2479 100644 --- a/audio/midiparser.cpp +++ b/audio/midiparser.cpp @@ -46,6 +46,7 @@ _numTracks(0), _activeTrack(255), _abortParse(0) { memset(_activeNotes, 0, sizeof(_activeNotes)); + memset(_tracks, 0, sizeof(_tracks)); _nextEvent.start = NULL; _nextEvent.delta = 0; _nextEvent.event = 0; -- cgit v1.2.3