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:310:1: start of procedure _TIFFmalloc()
  308. #endif
  309. 
  310. void*
       ^
  311. _TIFFmalloc(tmsize_t s)
  312. {

libtiff/tif_unix.c:313:13: Taking false branch
  311. _TIFFmalloc(tmsize_t s)
  312. {
  313.         if (s == 0)
                   ^
  314.                 return ((void *) NULL);
  315. 

libtiff/tif_unix.c:316:2: 
  314.                 return ((void *) NULL);
  315. 
  316. 	return (malloc((size_t) s));
        ^
  317. }
  318. 

libtiff/tif_unix.c:317:1: return from a call to _TIFFmalloc
  315. 
  316. 	return (malloc((size_t) s));
  317. }
       ^
  318. 
  319. void* _TIFFcalloc(tmsize_t nmemb, tmsize_t siz)

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:817:1: start of procedure TIFFPredictorInit()
  815. }
  816. 
  817. int
       ^
  818. TIFFPredictorInit(TIFF* tif)
  819. {

libtiff/tif_predict.c:820:2: 
  818. TIFFPredictorInit(TIFF* tif)
  819. {
  820. 	TIFFPredictorState* sp = PredictorState(tif);
        ^
  821. 
  822. 	assert(sp != 0);

libtiff/tif_predict.c:822:2: Condition is true
  820. 	TIFFPredictorState* sp = PredictorState(tif);
  821. 
  822. 	assert(sp != 0);
        ^
  823. 
  824. 	/*

libtiff/tif_predict.c:827:7: Taking true branch
  825. 	 * Merge codec-specific tag information.
  826. 	 */
  827. 	if (!_TIFFMergeFields(tif, predictFields,
             ^
  828. 			      TIFFArrayCount(predictFields))) {
  829. 		TIFFErrorExt(tif->tif_clientdata, "TIFFPredictorInit",

libtiff/tif_predict.c:829:3: 
  827. 	if (!_TIFFMergeFields(tif, predictFields,
  828. 			      TIFFArrayCount(predictFields))) {
  829. 		TIFFErrorExt(tif->tif_clientdata, "TIFFPredictorInit",
         ^
  830. 		    "Merging Predictor codec-specific tags failed");
  831. 		return 0;

libtiff/tif_error.c:66:1: start of procedure TIFFErrorExt()
    64. }
    65. 
    66. void
        ^
    67. TIFFErrorExt(thandle_t fd, const char* module, const char* fmt, ...)
    68. {

libtiff/tif_error.c:70:6: Taking false branch
    68. {
    69. 	va_list ap;
    70. 	if (_TIFFerrorHandler) {
             ^
    71. 		va_start(ap, fmt);
    72. 		(*_TIFFerrorHandler)(module, fmt, ap);

libtiff/tif_error.c:75:6: Taking false branch
    73. 		va_end(ap);
    74. 	}
    75. 	if (_TIFFerrorHandlerExt) {
             ^
    76. 		va_start(ap, fmt);
    77. 		(*_TIFFerrorHandlerExt)(fd, module, fmt, ap);

libtiff/tif_error.c:75:2: 
    73. 		va_end(ap);
    74. 	}
    75. 	if (_TIFFerrorHandlerExt) {
         ^
    76. 		va_start(ap, fmt);
    77. 		(*_TIFFerrorHandlerExt)(fd, module, fmt, ap);

libtiff/tif_error.c:80:1: return from a call to TIFFErrorExt
    78. 		va_end(ap);
    79. 	}
    80. }
        ^
    81. 
    82. /*

libtiff/tif_predict.c:831:3: 
  829. 		TIFFErrorExt(tif->tif_clientdata, "TIFFPredictorInit",
  830. 		    "Merging Predictor codec-specific tags failed");
  831. 		return 0;
         ^
  832. 	}
  833. 

libtiff/tif_predict.c:856:1: return from a call to TIFFPredictorInit
  854. 	sp->decodepfunc = NULL;			/* no predictor routine */
  855. 	return 1;
  856. }
       ^
  857. 
  858. int
