comparison 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
comparison
equal deleted inserted replaced
1401:cc62d7862203 1402:aadfb395e933
36 */ 36 */
37 /**********************************************************************/ 37 /**********************************************************************/
38 38
39 #include "RtMidi.h" 39 #include "RtMidi.h"
40 #include <sstream> 40 #include <sstream>
41
42 // CC be gung-ho about this here, assume upstream has it in hand
43 #pragma GCC diagnostic ignored "-Wconversion"
41 44
42 #if defined(__MACOSX_CORE__) 45 #if defined(__MACOSX_CORE__)
43 #if TARGET_OS_IPHONE 46 #if TARGET_OS_IPHONE
44 #define AudioGetCurrentHostTime CAHostTimeBase::GetCurrentTime 47 #define AudioGetCurrentHostTime CAHostTimeBase::GetCurrentTime
45 #define AudioConvertHostTimeToNanos CAHostTimeBase::ConvertToNanos 48 #define AudioConvertHostTimeToNanos CAHostTimeBase::ConvertToNanos