libtiff/tif_lzw.c:224: error: Memory Leak
  memory dynamically allocated by call to `_TIFFmalloc()` at line 211, column 28 is not reachable after line 224, column 10.

libtiff/tif_lzw.c:198:1: start of procedure LZWSetupDecode()
196. }
197. 
198. static int
     ^
199. LZWSetupDecode(TIFF* tif)
200. {

libtiff/tif_lzw.c:201:2: 
199. LZWSetupDecode(TIFF* tif)
200. {
201. 	static const char module[] = "LZWSetupDecode";
      ^
202. 	LZWCodecState* sp = DecoderState(tif);
203. 	int code;

libtiff/tif_lzw.c:202:2: 
200. {
201. 	static const char module[] = "LZWSetupDecode";
202. 	LZWCodecState* sp = DecoderState(tif);
      ^
203. 	int code;
204. 

libtiff/tif_lzw.c:205:6: Taking true branch
203. 	int code;
204. 
205. 	if( sp == NULL )
          ^
206. 	{
207. 		/*

libtiff/tif_lzw.c:211:3: 
209. 		 * values.
210. 		*/
211. 		tif->tif_data = (uint8*) _TIFFmalloc(sizeof(LZWCodecState));
       ^
212. 		if (tif->tif_data == NULL)
213. 		{

libtiff/tif_unix.c:253:1: start of procedure _TIFFmalloc()
  251. #endif
  252. 
  253. void*
       ^
  254. _TIFFmalloc(tmsize_t s)
  255. {

libtiff/tif_unix.c:256:2: 
  254. _TIFFmalloc(tmsize_t s)
  255. {
  256. 	return (malloc((size_t) s));
        ^
  257. }
  258. 

libtiff/tif_unix.c:257:1: return from a call to _TIFFmalloc
  255. {
  256. 	return (malloc((size_t) s));
  257. }
       ^
  258. 
  259. void

libtiff/tif_lzw.c:212:7: Taking false branch
210. 		*/
211. 		tif->tif_data = (uint8*) _TIFFmalloc(sizeof(LZWCodecState));
212. 		if (tif->tif_data == NULL)
           ^
213. 		{
214. 			TIFFErrorExt(tif->tif_clientdata, module, "No space for LZW state block");

libtiff/tif_lzw.c:218:3: 
216. 		}
217. 
218. 		DecoderState(tif)->dec_codetab = NULL;
       ^
219. 		DecoderState(tif)->dec_decode = NULL;
220. 

libtiff/tif_lzw.c:219:3: 
217. 
218. 		DecoderState(tif)->dec_codetab = NULL;
219. 		DecoderState(tif)->dec_decode = NULL;
       ^
220. 
221. 		/*

libtiff/tif_lzw.c:224:10: 
222. 		 * Setup predictor setup.
223. 		 */
224. 		(void) TIFFPredictorInit(tif);
              ^
225. 
226. 		sp = DecoderState(tif);

libtiff/tif_predict.c:700:1: start of procedure TIFFPredictorInit()
  698. }
  699. 
  700. int
       ^
  701. TIFFPredictorInit(TIFF* tif)
  702. {

libtiff/tif_predict.c:703:2: 
  701. TIFFPredictorInit(TIFF* tif)
  702. {
  703. 	TIFFPredictorState* sp = PredictorState(tif);
        ^
  704. 
  705. 	assert(sp != 0);

libtiff/tif_predict.c:705:2: Condition is true
  703. 	TIFFPredictorState* sp = PredictorState(tif);
  704. 
  705. 	assert(sp != 0);
        ^
  706. 
  707. 	/*

libtiff/tif_predict.c:710:7: Taking true branch
  708. 	 * Merge codec-specific tag information.
  709. 	 */
  710. 	if (!_TIFFMergeFields(tif, predictFields,
             ^
  711. 			      TIFFArrayCount(predictFields))) {
  712. 		TIFFErrorExt(tif->tif_clientdata, "TIFFPredictorInit",

libtiff/tif_predict.c:712:3: 
  710. 	if (!_TIFFMergeFields(tif, predictFields,
  711. 			      TIFFArrayCount(predictFields))) {
  712. 		TIFFErrorExt(tif->tif_clientdata, "TIFFPredictorInit",
         ^
  713. 		    "Merging Predictor codec-specific tags failed");
  714. 		return 0;

libtiff/tif_error.c:62:1: start of procedure TIFFErrorExt()
    60. }
    61. 
    62. void
        ^
    63. TIFFErrorExt(thandle_t fd, const char* module, const char* fmt, ...)
    64. {

libtiff/tif_error.c:66:2: 
    64. {
    65. 	va_list ap;
    66. 	va_start(ap, fmt);
         ^
    67. 	if (_TIFFerrorHandler)
    68. 		(*_TIFFerrorHandler)(module, fmt, ap);

libtiff/tif_error.c:67:6: Taking false branch
    65. 	va_list ap;
    66. 	va_start(ap, fmt);
    67. 	if (_TIFFerrorHandler)
             ^
    68. 		(*_TIFFerrorHandler)(module, fmt, ap);
    69. 	if (_TIFFerrorHandlerExt)

libtiff/tif_error.c:69:6: Taking false branch
    67. 	if (_TIFFerrorHandler)
    68. 		(*_TIFFerrorHandler)(module, fmt, ap);
    69. 	if (_TIFFerrorHandlerExt)
             ^
    70. 		(*_TIFFerrorHandlerExt)(fd, module, fmt, ap);
    71. 	va_end(ap);

libtiff/tif_error.c:71:2: 
    69. 	if (_TIFFerrorHandlerExt)
    70. 		(*_TIFFerrorHandlerExt)(fd, module, fmt, ap);
    71. 	va_end(ap);
         ^
    72. }
    73. 

libtiff/tif_error.c:72:1: return from a call to TIFFErrorExt
    70. 		(*_TIFFerrorHandlerExt)(fd, module, fmt, ap);
    71. 	va_end(ap);
    72. }
        ^
    73. 
    74. /*

libtiff/tif_predict.c:714:3: 
  712. 		TIFFErrorExt(tif->tif_clientdata, "TIFFPredictorInit",
  713. 		    "Merging Predictor codec-specific tags failed");
  714. 		return 0;
         ^
  715. 	}
  716. 

libtiff/tif_predict.c:739:1: return from a call to TIFFPredictorInit
  737. 	sp->decodepfunc = NULL;			/* no predictor routine */
  738. 	return 1;
  739. }
       ^
  740. 
  741. int
