}
if (image_info->ping != MagickFalse)
{
+ if (profile != (StringInfo *) NULL)
+ profile=DestroyStringInfo(profile);
(void) CloseBlob(image);
return(GetFirstImageInList(image));
}
exception);
if (status != MagickTrue)
{
+ if (profile != (StringInfo *) NULL)
+ profile=DestroyStringInfo(profile);
(void) CloseBlob(image);
image=DestroyImageList(image);
return((Image *) NULL);
}
}
- if (profile != (StringInfo *) NULL)
- {
- (void) SetImageProfile(image,GetStringInfoName(profile),profile,
- exception);
- profile=DestroyStringInfo(profile);
- }
if (has_merged_image == MagickFalse)
{
Image