Ensure read_free is called for WebP buffer data

This commit is contained in:
Lovell Fuller 2014-08-28 11:51:22 +01:00
parent 86b729150c
commit e13f6bf6b6
1 changed files with 2 additions and 0 deletions

View File

@ -298,6 +298,8 @@ vips__webp_read_buffer( void *buf, size_t len, VipsImage *out )
if( read_image( read, out ) )
return( -1 );
read_free( read );
return( 0 );
}