From dd07d6ab7dd2c10518ee0908bb5b5d675a33a148 Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Fri, 27 Apr 2018 11:34:56 +0100 Subject: [PATCH] note g_free() for write_to_memory result see https://github.com/jcupitt/libvips/issues/929 --- libvips/iofuncs/image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libvips/iofuncs/image.c b/libvips/iofuncs/image.c index 56903e7f..48a0dee2 100644 --- a/libvips/iofuncs/image.c +++ b/libvips/iofuncs/image.c @@ -2657,7 +2657,7 @@ vips_image_write_to_buffer( VipsImage *in, * * Writes @in to memory as a simple, unformatted C-style array. * - * The caller is responsible for freeing this memory. + * The caller is responsible for freeing this memory with g_free(). * * See also: vips_image_write_to_buffer(). *