mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-21 19:51:49 +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.