mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-04 01:07:22 +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.