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

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

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

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

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

tools/fax2tiff.c:373:2: 
371. 
372. 	tifin->tif_rawdatasize = (tmsize_t)TIFFGetFileSize(tifin);
373. 	tifin->tif_rawdata = _TIFFmalloc(tifin->tif_rawdatasize);
      ^
374. 	if (tifin->tif_rawdata == NULL) {
375. 		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:374:6: Taking false branch
372. 	tifin->tif_rawdatasize = (tmsize_t)TIFFGetFileSize(tifin);
373. 	tifin->tif_rawdata = _TIFFmalloc(tifin->tif_rawdatasize);
374. 	if (tifin->tif_rawdata == NULL) {
          ^
375. 		TIFFError(tifin->tif_name, "Not enough memory");
376. 		return (0);

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

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

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

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