(RPNG) Always free the temp chunk on PNG_CHUNK_IHDR

This commit is contained in:
Higor Eurípedes 2015-04-25 21:32:42 -03:00
parent c11498df9d
commit 03d13c6fa7

View File

@ -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;