From cd9e632a7c9001bf42e2b7f5af12ffcf17461e7e Mon Sep 17 00:00:00 2001 From: cristy Date: Thu, 27 Dec 2012 00:29:00 +0000 Subject: [PATCH] --- MagickCore/blob.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/MagickCore/blob.c b/MagickCore/blob.c index b73a32224..a6f73fd50 100644 --- a/MagickCore/blob.c +++ b/MagickCore/blob.c @@ -513,9 +513,6 @@ MagickExport MagickBooleanType CloseBlob(Image *image) return(MagickTrue); if (image->blob->synchronize != MagickFalse) SyncBlob(image); - image->blob->size=GetBlobSize(image); - image->extent=image->blob->size; - image->blob->eof=MagickFalse; status=0; switch (image->blob->type) { @@ -547,6 +544,9 @@ MagickExport MagickBooleanType CloseBlob(Image *image) break; } image->blob->status=status < 0 ? MagickTrue : MagickFalse; + image->blob->size=GetBlobSize(image); + image->extent=image->blob->size; + image->blob->eof=MagickFalse; if (image->blob->exempt != MagickFalse) { image->blob->type=UndefinedStream; -- 2.40.0