Merge pull request #1074 from lovell/vips_icc_is_compatible_profile-leak

Fix 72 byte leak when ICC profile is compatible
This commit is contained in:
John Cupitt 2018-08-23 22:17:02 +01:00 committed by GitHub
commit f725d7efab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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