Ensure read_free is called for WebP buffer data
This commit is contained in:
parent
86b729150c
commit
e13f6bf6b6
@ -298,6 +298,8 @@ vips__webp_read_buffer( void *buf, size_t len, VipsImage *out )
|
|||||||
if( read_image( read, out ) )
|
if( read_image( read, out ) )
|
||||||
return( -1 );
|
return( -1 );
|
||||||
|
|
||||||
|
read_free( read );
|
||||||
|
|
||||||
return( 0 );
|
return( 0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user