mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-29 14:42:26 +00:00
2f200ac493
When reallocation is unsuccessful, the passed buffer is not freed. In this case, assigning the result (NULL) will result in a leak of the original memory buffer. See http://msdn.microsoft.com/en-us/library/kkedhy7c.aspx