Using shared_ptr in MovieImpl, which made the function cleanResources obsolete!