mirror of
https://github.com/libretro/RetroArch
synced 2025-02-20 15:40:44 +00:00
(RPNG) Always free the temp chunk on PNG_CHUNK_IHDR
This commit is contained in:
parent
c11498df9d
commit
03d13c6fa7
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user