summaryrefslogtreecommitdiff
path: root/drumgizmo
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2016-02-09 13:09:26 +0100
committerAndré Nusser <andre.nusser@googlemail.com>2016-02-09 13:09:26 +0100
commiteddcef9d4b81041e883626044d9dae81f8d8d9d9 (patch)
treea040a86672f060b0ee7b0b476a30426bdc4ccb8a /drumgizmo
parent0a2b49267f9002c7289e60654203e9b108c06f73 (diff)
Fix two valgrind errors and mark three others with a TODO comment.
Diffstat (limited to 'drumgizmo')
-rw-r--r--drumgizmo/input/midifile.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/drumgizmo/input/midifile.cc b/drumgizmo/input/midifile.cc
index 9e342e9..6429c8f 100644
--- a/drumgizmo/input/midifile.cc
+++ b/drumgizmo/input/midifile.cc
@@ -195,7 +195,7 @@ event_t* MidifileInputEngine::run(size_t pos, size_t len, size_t* nevents)
{
if(evs == nullptr)
{
- // todo: get rid of malloc
+ // TODO: get rid of malloc
evs = (event_t*)malloc(sizeof(event_t) * 1000);
}
evs[num_events].type = TYPE_STOP;