drawFittedText causes leaked objects

Hello,

in my current project I need to create a few images draw some text to them and store them on disk.
In the function that creates the image I do the following:

img = juce::Image (juce::Image::RGB,140, 80, true);
juce::Graphics g (img);
g.fillAll (juce::Colours::grey);
g.setColour (juce::Colours::white);
g.drawFittedText ("Test", 0, 0, 140, 86, juce::Justification::centred, 3);

That creates the correct images. However, after termination I get the following warning:

*** Leaked objects detected: 4 instance(s) of class PositionedGlyph

JUCE Assertion failure in juce_LeakedObjectDetector.h:104

It is clearly related to the call of drawFittedText, because removing that line removes the warning. Replacing drawFittedText by drawText doesn’t change anything.

What is wrong here?

Raphael