basjetimmer at yahoo.com
Fri Apr 9 13:11:32 CEST 2010
Ah, yes, I had just noticed it was the FrameFactory singleton, I should have looked into that before.
It would be easy to fix, though. Just change the 'static FrameFactory *factory' into a 'std::auto_ptr<FrameFactory> factory' and it's done. It'll just change a 3 or 4 lines of code (replacing 'factory' with 'factory.get()' instance()). But I guess there is no real gain from it, unless the OS isn't guaranteed to clean the memory up when the program leaves it allocated...
The other one will remain a mystery then, but as long as it stays 4 bytes, that's not a big problem either.
More information about the taglib-devel