mirror of
https://github.com/libretro/RetroArch
synced 2025-03-18 13:20:57 +00:00
commit
825393e1d1
@ -239,6 +239,7 @@ void core_info_list_free(core_info_list_t *core_info_list)
|
||||
continue;
|
||||
|
||||
free(info->path);
|
||||
free(info->core_name);
|
||||
free(info->systemname);
|
||||
free(info->system_manufacturer);
|
||||
free(info->display_name);
|
||||
|
@ -175,6 +175,7 @@ bool rpng_load_image_argb_iterate(FILE **fd, struct rpng_t *rpng)
|
||||
return false;
|
||||
}
|
||||
|
||||
png_free_chunk(&chunk);
|
||||
rpng->has_ihdr = true;
|
||||
break;
|
||||
|
||||
@ -282,6 +283,9 @@ end:
|
||||
free(rpng.process.inflate_buf);
|
||||
|
||||
if (rpng.process.stream)
|
||||
{
|
||||
zlib_stream_free(rpng.process.stream);
|
||||
free(rpng.process.stream);
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
@ -222,7 +222,10 @@ void rpng_nbio_load_image_free(struct rpng_t *rpng)
|
||||
if (rpng->process.inflate_buf)
|
||||
free(rpng->process.inflate_buf);
|
||||
if (rpng->process.stream)
|
||||
{
|
||||
zlib_stream_free(rpng->process.stream);
|
||||
free(rpng->process.stream);
|
||||
}
|
||||
|
||||
if (rpng)
|
||||
free(rpng);
|
||||
|
Loading…
x
Reference in New Issue
Block a user