Default JUCE AudioPluginHost memory leaks on exit: 2 Message Instances and 1 Attribute List

When I close the JUCE AudioPluginHost in debug mode, it shows the following errors:

*** Leaked objects detected: 2 instance(s) of class  Message
JUCE Assertion failure in juce_leakedobjectdetector.h:90
AudioPluginHost.exe has triggered a breakpoint.
*** Leaked objects detected: 1 instance(s) of class  AttributeList
JUCE Assertion failure in juce_leakedobjectdetector.h:90
AudioPluginHost.exe has triggered a breakpoint.

And the same happens when I build a vstplugin in debug mode using the AudioPluginHost exe. How can you remove these errors? And also, is there a way to know which line of code contains the pointer which caused the memory leak as atm I don’t know anyway to debug this problem on my own.

I’m searching all over the forum for answers to these questions. And there never seems to be one.