ddata->draw_info=(DrawInfo *)NULL;
}
if (WMF_MAGICK_GetFontData(API)->ps_name)
- RelinquishMagickMemory(WMF_MAGICK_GetFontData(API)->ps_name);
+ WMF_MAGICK_GetFontData(API)->ps_name=RelinquishMagickMemory(
+ WMF_MAGICK_GetFontData(API)->ps_name);
}
/*
if (image_info->ping != MagickFalse)
{
- ipa_device_close(API);
wmf_api_destroy(API);
(void) CloseBlob(image);
if (image->debug != MagickFalse)
(void) LogMagickEvent(CoderEvent,GetMagickModule(),
"leave ReadWMFImage()");
}
- ipa_device_close(API);
wmf_api_destroy(API);
ThrowReaderException(DelegateError,"FailedToRenderFile");
}