mirror of
https://github.com/libretro/RetroArch
synced 2025-02-07 03:40:24 +00:00
Use zlib_stream_free
This commit is contained in:
parent
835cba4412
commit
33fca0e161
@ -603,7 +603,7 @@ int rpng_load_image_argb_process_inflate_init(struct rpng_t *rpng,
|
||||
return 0;
|
||||
|
||||
end:
|
||||
inflateEnd(&rpng->process.stream);
|
||||
zlib_stream_free(&rpng->process.stream);
|
||||
|
||||
*width = rpng->ihdr.width;
|
||||
*height = rpng->ihdr.height;
|
||||
@ -630,7 +630,7 @@ end:
|
||||
return 1;
|
||||
|
||||
error:
|
||||
inflateEnd(&rpng->process.stream);
|
||||
zlib_stream_free(&rpng->process.stream);
|
||||
|
||||
false_end:
|
||||
rpng->process.inflate_initialized = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user