fix test suite

passes now
This commit is contained in:
John Cupitt 2019-10-14 21:01:25 +01:00
parent 55d2ba8a4d
commit c3e1dd47bf
1 changed files with 2 additions and 0 deletions

View File

@ -791,6 +791,8 @@ static void
write_finish( Write *write )
{
VIPS_UNREF( write->memory );
if( write->output )
vips_stream_output_finish( write->output );
VIPS_UNREF( write->output );
if( write->pPng )
png_destroy_write_struct( &write->pPng, &write->pInfo );