libretro / beetle-saturn-libretro

Standalone hard fork of Mednafen Saturn to the libretro API.
GNU General Public License v2.0
22 stars 10 forks source link

Remove erroneous free() call in zlib_codec_init() #46

Open pstef opened 1 month ago

pstef commented 1 month ago

Remove a free() call inherited from the original MAME code which allocated memory within zlib_codec_init(). It is no longer appropriate to call here, as the data variable now points to the middle of a caller-owned allocation.