From: dirk Date: Sat, 20 Sep 2014 07:38:59 +0000 (+0000) Subject: Added missing call to DisassociateImageStream. X-Git-Tag: 7.0.1-0~1991 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cfe4c1c681000f44b3cf68ccc0f9d6b9caf10b5a;p=imagemagick Added missing call to DisassociateImageStream. Comment fix. --- diff --git a/MagickCore/blob.c b/MagickCore/blob.c index 2d51b61b8..a9f623f67 100644 --- a/MagickCore/blob.c +++ b/MagickCore/blob.c @@ -725,7 +725,7 @@ MagickExport unsigned char *DetachBlob(BlobInfo *blob_info) % % The format of the DisassociateBlob method is: % -% MagickBooleanType DisassociateBlob(const Image *image) +% void DisassociateBlob(const Image *image) % % A description of each parameter follows: % diff --git a/MagickCore/constitute.c b/MagickCore/constitute.c index ff4c5d956..35041d5c7 100644 --- a/MagickCore/constitute.c +++ b/MagickCore/constitute.c @@ -601,6 +601,7 @@ MagickExport Image *ReadImage(const ImageInfo *image_info, const StringInfo *profile; + DisassociateImageStream(next); next->taint=MagickFalse; GetPathComponent(magick_filename,MagickPath,magick_path); if (*magick_path == '\0' && *next->magick == '\0') diff --git a/MagickCore/image.c b/MagickCore/image.c index ea8282510..3c09f32c5 100644 --- a/MagickCore/image.c +++ b/MagickCore/image.c @@ -1141,7 +1141,7 @@ MagickExport ImageInfo *DestroyImageInfo(ImageInfo *image_info) % % The format of the DisassociateImageStream method is: % -% MagickBooleanType DisassociateImageStream(const Image *image) +% void DisassociateImageStream(const Image *image) % % A description of each parameter follows: %