JUCE_LEAK_DETECTOR (MidiMessage)


#1

Hi Jules,

could it useful to have a leak detector in MidiMessage?


#2

Hopefully it shouldn't be needed. I wouldn't recommend ever allocating a MidiMessage on the heap, you should always just treat it as a by-value type. So you shouldn't ever be able to leak one.


#3

Ok, thanks. I'll will keep this in mind.