mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-24 05:01:43 +00:00

The previous change corrected the compiler warning, but the resulting allocated buffer was not passed out of the function. This will likely result in a memory leak if this is not deallocated elsewhere, but this is a better situation than a likely segfault from usage of a local variable pointer out of scope.