From: Dirk Lemstra Date: Fri, 11 Aug 2017 09:21:33 +0000 (+0200) Subject: Fixed another memory leak. X-Git-Tag: 7.0.6-7~11 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b9b54a71603edc792dabe18bb229ef32deac5e66;p=imagemagick Fixed another memory leak. --- diff --git a/coders/meta.c b/coders/meta.c index cc7dd7dc2..1f5fbfab7 100644 --- a/coders/meta.c +++ b/coders/meta.c @@ -2202,6 +2202,7 @@ static int format8BIM(Image *ifile, Image *ofile) c=ReadBlobByte(ifile); if (c == EOF) { + str=(unsigned char *) RelinquishMagickMemory(str); PString=(unsigned char *) RelinquishMagickMemory(PString); return -1; }