From eddcef9d4b81041e883626044d9dae81f8d8d9d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Nusser?= Date: Tue, 9 Feb 2016 13:09:26 +0100 Subject: Fix two valgrind errors and mark three others with a TODO comment. --- drumgizmo/input/midifile.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drumgizmo/input') 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; -- cgit v1.2.3