Skip to content
Permalink
Browse files Browse the repository at this point in the history
Fixed fd leak for webp coder (patch from #382)
  • Loading branch information
dlemstra committed Feb 18, 2017
1 parent 999d9f7 commit 126c7c9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
@@ -1,3 +1,7 @@
2017-02-18 6.9.7-9 Dirk Lemstra <dirk@lem.....org>
* Fixed fd leak for webp coder (reference
https://github.com/ImageMagick/ImageMagick/pull/382)

2017-02-15 6.9.7-9 Cristy <quetzlzacatenango@image...>
* Prevent random pixel data for corrupt JPEG image (bug report from
Hirokazu Moriguchi, Sony).
Expand Down
1 change: 1 addition & 0 deletions coders/webp.c
Expand Up @@ -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
Expand Down

0 comments on commit 126c7c9

Please sign in to comment.