mirror of https://github.com/GNOME/gimp.git
fixed a bug that I introduced earlier today.
2007-08-08 Sven Neumann <sven@gimp.org> * plug-ins/common/lcms.c (lcms_image_get_profile): fixed a bug that I introduced earlier today. svn path=/trunk/; revision=23153
This commit is contained in:
parent
46fc994030
commit
abbd60c5e6
|
@ -1,3 +1,8 @@
|
|||
2007-08-08 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* plug-ins/common/lcms.c (lcms_image_get_profile): fixed a bug
|
||||
that I introduced earlier today.
|
||||
|
||||
2007-08-08 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/widgets/gimpprofilechooserdialog.[ch]: use a text view in a
|
||||
|
|
|
@ -685,8 +685,6 @@ lcms_image_get_profile (GimpColorConfig *config,
|
|||
profile = cmsOpenProfileFromMem ((gpointer) gimp_parasite_data (parasite),
|
||||
gimp_parasite_data_size (parasite));
|
||||
|
||||
gimp_parasite_free (parasite);
|
||||
|
||||
if (profile)
|
||||
{
|
||||
lcms_calculate_checksum (gimp_parasite_data (parasite),
|
||||
|
@ -698,6 +696,8 @@ lcms_image_get_profile (GimpColorConfig *config,
|
|||
g_message (_("Data attached as 'icc-profile' does not appear to "
|
||||
"be an ICC color profile"));
|
||||
}
|
||||
|
||||
gimp_parasite_free (parasite);
|
||||
}
|
||||
else if (config->rgb_profile)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue