Merge pull request #263 from lovell/openslide-associated-leak

Fix small memory leak in openslide loader
This commit is contained in:
John Cupitt 2015-04-14 21:03:54 +01:00
commit bc62d47424

View File

@ -380,6 +380,7 @@ readslide_new( const char *filename, VipsImage *out,
associated = g_strjoinv( ", ", (char **) associated = g_strjoinv( ", ", (char **)
openslide_get_associated_image_names( rslide->osr ) ); openslide_get_associated_image_names( rslide->osr ) );
vips_image_set_string( out, "slide-associated-images", associated ); vips_image_set_string( out, "slide-associated-images", associated );
VIPS_FREE( associated );
return( rslide ); return( rslide );
} }