Console app "leaked objects detected"

I’m writing a simple console app to write some HW setup messages to MidiOutput.
I’m at the point of querying the output ports:
Its working but I’m getting:**** Leaked objects detected: 1 instance(s) of class MidiServiceType*
Thanks for hints.

int main(int argc, char* argv[])
{
    
    auto list = MidiOutput::getAvailableDevices(); //build  device list

    for (auto item : list) {
        printf("NAME:%s\n", item.name.toUTF8());  //print names
    }

    printf("DONE.\n");

    return 0;
}