long, so this version of libjpeg-turbo activates the accelerated Huffman
decoder only if there are > 512 bytes of data in the input buffer.
+[3] Fixed a memory leak in tjunittest encountered when running the program
+with the -yuv option.
+
1.4.2
=====
&dstSize, subsamp, 100, alloc? 0:TJFLAG_NOREALLOC));
}
free(srcBuf); srcBuf=NULL;
- if(!alloc)
+ if(!alloc || doyuv)
{
tjFree(dstBuf); dstBuf=NULL;
}
&dstSize, subsamp, 100, alloc? 0:TJFLAG_NOREALLOC));
}
free(srcBuf); srcBuf=NULL;
- if(!alloc)
+ if(!alloc || doyuv)
{
tjFree(dstBuf); dstBuf=NULL;
}