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:
commit
f725d7efab
@ -1277,6 +1277,8 @@ vips_icc_is_compatible_profile( VipsImage *image,
|
||||
return( FALSE );
|
||||
}
|
||||
|
||||
VIPS_FREEF( cmsCloseProfile, profile );
|
||||
|
||||
return( TRUE );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user