-
If png_create_info_struct() fails, we should pass NULL to png_destroy_read_struct(), and not the address of the info we just failed to create. Signed-off-by: Leandro Ribeiro <leandro.ribeiro@collabora.com>
27a8cbee
Loading
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
If png_create_info_struct() fails, we should pass NULL to
png_destroy_read_struct(), and not the address of the info we just
failed to create.
Signed-off-by: Leandro Ribeiro <leandro.ribeiro@collabora.com>