From ad48c8b228f15dfbf4e39320b2a2c75f241feae4 Mon Sep 17 00:00:00 2001 From: cristy Date: Sat, 2 May 2015 21:53:27 +0000 Subject: [PATCH] --- MagickCore/blob.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MagickCore/blob.c b/MagickCore/blob.c index c2a1b9028..35a0add49 100644 --- a/MagickCore/blob.c +++ b/MagickCore/blob.c @@ -205,6 +205,7 @@ MagickExport void AttachBlob(BlobInfo *blob_info,const void *blob, blob_info->file_info.file=(FILE *) NULL; blob_info->data=(unsigned char *) blob; blob_info->mapped=MagickFalse; + blob_info->immutable=MagickTrue; } /* @@ -2410,7 +2411,6 @@ MagickExport MagickBooleanType OpenBlob(const ImageInfo *image_info, { if (image_info->stream != (StreamHandler) NULL) image->blob->stream=(StreamHandler) image_info->stream; - image->immutable=MagickTrue; AttachBlob(image->blob,image_info->blob,image_info->length); return(MagickTrue); } -- 2.50.1