diff data/midi/rtmidi/RtMidi.cpp @ 1402:aadfb395e933

Fix some one-off memory leaks (including distracting ones in tests)
author Chris Cannam
date Mon, 06 Mar 2017 17:37:23 +0000
parents b0533d195c83
children 9ae40c7aecdf
line wrap: on
line diff
--- a/data/midi/rtmidi/RtMidi.cpp	Mon Mar 06 17:23:46 2017 +0000
+++ b/data/midi/rtmidi/RtMidi.cpp	Mon Mar 06 17:37:23 2017 +0000
@@ -39,6 +39,9 @@
 #include "RtMidi.h"
 #include <sstream>
 
+// CC be gung-ho about this here, assume upstream has it in hand
+#pragma GCC diagnostic ignored "-Wconversion"
+
 #if defined(__MACOSX_CORE__)
   #if TARGET_OS_IPHONE
     #define AudioGetCurrentHostTime CAHostTimeBase::GetCurrentTime