Merge pull request #263 from lovell/openslide-associated-leak
Fix small memory leak in openslide loader
This commit is contained in:
commit
bc62d47424
@ -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 );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user