Fix 72 byte leak when ICC profile is compatible

This commit is contained in:
Lovell Fuller 2018-08-23 22:04:28 +01:00
parent fec2f5f869
commit 814af7e832
1 changed files with 2 additions and 0 deletions

View File

@ -1277,6 +1277,8 @@ vips_icc_is_compatible_profile( VipsImage *image,
return( FALSE );
}
VIPS_FREEF( cmsCloseProfile, profile );
return( TRUE );
}