diff --git a/ChangeLog b/ChangeLog index 19658e4e..69bcff04 100644 --- a/ChangeLog +++ b/ChangeLog @@ -25,6 +25,8 @@ - vips_text() can autofit text to a box, thanks gargsms - add vips_composite(): merge an array of images with porter-duff - better gobject-introspection annotations, thanks astavale +- vips_image_write() severs all links between images, when it can ... thanks + Warren and Nakilon 29/8/17 started 8.5.9 - make --fail stop jpeg read on any libjpeg warning, thanks @mceachen diff --git a/libvips/iofuncs/image.c b/libvips/iofuncs/image.c index ee839bdf..ff434a4b 100644 --- a/libvips/iofuncs/image.c +++ b/libvips/iofuncs/image.c @@ -12,6 +12,8 @@ * - vips_image_write() does not ref input for non-partial images * 29/10/16 * - add vips_image_hasalpha() + * 11/10/1 + * - more severing for vips_image_write() */ /* @@ -2528,7 +2530,7 @@ vips_image_write( VipsImage *image, VipsImage *out ) /* If @out is a partial image, we need to make sure that @image stays * alive as long as @out is alive. * - * If it's not partial, perhaps a file we write to, or a memory image, + * If it's not partial, perhaps a file we write to or a memory image, * we need to break any links between @image and @out created by * vips_image_pipelinev(). */