Skip to content
Permalink
Browse files Browse the repository at this point in the history
https://github.com/ImageMagick/ImageMagick/issues/662
  • Loading branch information
Cristy committed Aug 9, 2017
1 parent 44c66e1 commit 04178de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions coders/mat.c
Expand Up @@ -1330,8 +1330,6 @@ RestoreMSCWarning
if (quantum_info != (QuantumInfo *) NULL)
quantum_info=DestroyQuantumInfo(quantum_info);
END_OF_READING:
if (clone_info)
clone_info=DestroyImageInfo(clone_info);
CloseBlob(image);


Expand All @@ -1349,6 +1347,8 @@ RestoreMSCWarning
Image *tmp=p;
if ((p->rows == 0) || (p->columns == 0)) {
p=p->previous;
if (tmp == image2)
image2=(Image *) NULL;
DeleteImageFromList(&tmp);
} else {
image=p;
Expand Down

0 comments on commit 04178de

Please sign in to comment.