Added the JPEG2000 memory leak fix to decode.c