oop dropped webp free on load

This commit is contained in:
John Cupitt 2019-10-15 17:22:25 +01:00
parent ad7d2b796f
commit 430fd97397
1 changed files with 5 additions and 0 deletions

View File

@ -328,6 +328,11 @@ vips__iswebp_stream( VipsStreamInput *input )
static int
read_free( Read *read )
{
WebPDemuxReleaseIterator( &read->iter );
VIPS_UNREF( read->frame );
VIPS_FREEF( WebPDemuxDelete, read->demux );
WebPFreeDecBuffer( &read->config.output );
VIPS_UNREF( read->input );
VIPS_FREE( read->delays );
VIPS_FREE( read );