@killzone_kid, fair enough. I see you even opened issues on github I must have missed (or did not mentally link it to 'library') below, sorry.
What is named as an 'official' library is actually 3rd party but sometimes included with the IDE. That does not mean it works without fault and can sometimes have compatibility issues or in this case as you say a memory leak.
The whole thing is open-source, the IDE, the cores, everything.