Parfait found memory leak in imageio jpeg plugin:
Error: Memory leak [Allocation bug dataflow] <c3d5b82ca92f2471a0508a1bb3537020>
Leak of pointer malloc(632) at line 1440
at /export/datasets/jdk-b71-cristina/jdk/make/sun/jpeg/../../../src/share/native/sun/awt/image/jpeg/imageioJPEG.c:1425 in function 'Java_com_sun_imageio_plugins_jpeg_JPEGImageReader_initJPEGImageReader'
To resolve this problem we should correct failure handlers:
- to free allocated structures if failure happens before jpeg engine initialization,
- to use proper destruction method for an initialized jpeg engine.