tools/fax2tiff.c:386: error: Memory Leak
  memory dynamically allocated by call to `_TIFFmalloc()` at line 374, column 23 is not reachable after line 386, column 2.

tools/fax2tiff.c:365:1: start of procedure copyFaxFile()
363. }
364. 
365. int
     ^
366. copyFaxFile(TIFF* tifin, TIFF* tifout)
367. {

tools/fax2tiff.c:369:20: Condition is true
367. {
368. 	uint32 row;
369. 	uint32 linesize = TIFFhowmany8(xsize);
                        ^
370. 	uint16 badrun;
371. 	int ok;

tools/fax2tiff.c:369:2: 
367. {
368. 	uint32 row;
369. 	uint32 linesize = TIFFhowmany8(xsize);
      ^
370. 	uint16 badrun;
371. 	int ok;

tools/fax2tiff.c:373:2: Skipping __function_pointer__(): unresolved function pointer
371. 	int ok;
372. 
373. 	tifin->tif_rawdatasize = (tmsize_t)TIFFGetFileSize(tifin);
      ^
374. 	tifin->tif_rawdata = _TIFFmalloc(tifin->tif_rawdatasize);
375. 	if (tifin->tif_rawdata == NULL) {

tools/fax2tiff.c:374:2: 
372. 
373. 	tifin->tif_rawdatasize = (tmsize_t)TIFFGetFileSize(tifin);
374. 	tifin->tif_rawdata = _TIFFmalloc(tifin->tif_rawdatasize);
      ^
375. 	if (tifin->tif_rawdata == NULL) {
376. 		TIFFError(tifin->tif_name, "Not enough memory");

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

tools/fax2tiff.c:375:6: Taking false branch
373. 	tifin->tif_rawdatasize = (tmsize_t)TIFFGetFileSize(tifin);
374. 	tifin->tif_rawdata = _TIFFmalloc(tifin->tif_rawdatasize);
375. 	if (tifin->tif_rawdata == NULL) {
          ^
376. 		TIFFError(tifin->tif_name, "Not enough memory");
377. 		return (0);

tools/fax2tiff.c:379:7: Taking false branch
377. 		return (0);
378. 	}
379. 	if (!ReadOK(tifin, tifin->tif_rawdata, tifin->tif_rawdatasize)) {
           ^
380. 		TIFFError(tifin->tif_name, "Read error at scanline 0");
381. 		return (0);

tools/fax2tiff.c:383:2: 
381. 		return (0);
382. 	}
383. 	tifin->tif_rawcp = tifin->tif_rawdata;
      ^
384. 	tifin->tif_rawcc = tifin->tif_rawdatasize;
385. 

tools/fax2tiff.c:384:2: 
382. 	}
383. 	tifin->tif_rawcp = tifin->tif_rawdata;
384. 	tifin->tif_rawcc = tifin->tif_rawdatasize;
      ^
385. 
386. 	(*tifin->tif_setupdecode)(tifin);

tools/fax2tiff.c:386:2: Skipping __function_pointer__(): unresolved function pointer
384. 	tifin->tif_rawcc = tifin->tif_rawdatasize;
385. 
386. 	(*tifin->tif_setupdecode)(tifin);
      ^
387. 	(*tifin->tif_predecode)(tifin, (tsample_t) 0);
388. 	tifin->tif_row = 0;
