Memory Leak with empty AudioProcessorGraph


#1

JUCE's internal leak detector is detecting a memory leak with the following code:


#include "../JuceLibraryCode/JuceHeader.h"
int main (int argc, char* argv[])
{
    ScopedJuceInitialiser_GUI platform;
    AudioProcessorGraph graph;
    return 0;
}

After running that, Visual Studio 2013 gives me the following


Detected memory leaks!
Dumping objects ->
{147} normal block at 0x0064ABC0, 16 bytes long.
 Data: < ,          4 Y > 94 2C B9 01 01 00 00 00 00 00 00 00 34 F9 59 00 
Object dump complete.

 


#2

No, it's not a memory leak. At least not a real or problematic one. (And you're not looking at the juce leak detector, this is the MS debug heap output)

It's almost certainly just a static object that hasn't yet been released because of order-of-destruction issues.