commit | acabb847a592ca5e430c1c0949d03acfc0b78bb9 | [log] [tgz] |
---|---|---|
author | cristy <[email protected]> | Sun Dec 14 23:36:33 2014 +0000 |
committer | cristy <[email protected]> | Sun Dec 14 23:36:33 2014 +0000 |
tree | 293731eef10f00993f8746eef5c5b73a944abea1 | |
parent | 832bf41145dbb8a98dd0eda20e2ff80848204b7f [diff] [blame] |
diff --git a/coders/rgf.c b/coders/rgf.c index 0e95bdc..21b6dda 100644 --- a/coders/rgf.c +++ b/coders/rgf.c
@@ -168,8 +168,9 @@ (void) CloseBlob(image); return(GetFirstImageInList(image)); } - - + status=SetImageExtent(image,image->columns,image->rows,exception); + if (status == MagickFalse) + return(DestroyImageList(image)); /* Read hex image data. */