From: cristy Date: Thu, 1 Sep 2011 18:02:13 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~7098 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0381c633dc0f13ec36743614cd4971243c31eaae;p=imagemagick --- diff --git a/coders/mpc.c b/coders/mpc.c index 45d67efe4..113c70ca1 100644 --- a/coders/mpc.c +++ b/coders/mpc.c @@ -581,7 +581,7 @@ static Image *ReadMPCImage(const ImageInfo *image_info,ExceptionInfo *exception) AcquireString(keyword+8)); profile=BlobToStringInfo((const void *) NULL,(size_t) StringToLong(options)); - if (profile == (char *) NULL) + if (profile == (StringInfo *) NULL) ThrowReaderException(ResourceLimitError, "MemoryAllocationFailed"); (void) SetImageProfile(image,keyword+8,profile);