mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
Previously the methods would pass by reference, then convert to a pointer on success and take ownership. This isn't ideal, as a reference suggests no transferral of ownership, and doesn't suggest it needs to be a heap resource allocated by new.