fix compiler warning
This commit is contained in:
parent
9958d2b821
commit
d8ea72895a
|
@ -228,6 +228,7 @@ readslide_new( const char *filename, VipsImage *out,
|
||||||
const char *error;
|
const char *error;
|
||||||
const char *background;
|
const char *background;
|
||||||
const char * const *properties;
|
const char * const *properties;
|
||||||
|
char *associated_names;
|
||||||
|
|
||||||
if( level &&
|
if( level &&
|
||||||
associated ) {
|
associated ) {
|
||||||
|
@ -377,10 +378,11 @@ readslide_new( const char *filename, VipsImage *out,
|
||||||
openslide_get_property_value( rslide->osr,
|
openslide_get_property_value( rslide->osr,
|
||||||
*properties ) );
|
*properties ) );
|
||||||
|
|
||||||
associated = g_strjoinv( ", ", (char **)
|
associated_names = 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,
|
||||||
VIPS_FREE( associated );
|
"slide-associated-images", associated_names );
|
||||||
|
VIPS_FREE( associated_names );
|
||||||
|
|
||||||
return( rslide );
|
return( rslide );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue