File ImageMagick-CVE-2014-9842.patch of Package ImageMagick.8212

--- a/coders/psd.c
+++ b/coders/psd.c
@@ -1752,6 +1753,7 @@ static Image *ReadPSDImage(const ImageIn
   if (image_info->ping != MagickFalse)
     {
       (void) CloseBlob(image);
+      image=DestroyImageList(image);
       return(GetFirstImageInList(image));
     }
   /*