File ImageMagick-CVE-2017-6502.patch of Package ImageMagick.8212

diff --git a/coders/webp.c b/coders/webp.c
index 811b3d4..11703f8 100644
--- a/coders/webp.c
+++ b/coders/webp.c
@@ -368,6 +368,7 @@ static Image *ReadWEBPImage(const ImageInfo *image_info,
   }
   WebPFreeDecBuffer(webp_image);
   stream=(unsigned char*) RelinquishMagickMemory(stream);
+  (void) CloseBlob(image);
   return(image);
 }
 #endif