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

tools/fax2tiff.c:348:1: start of procedure copyFaxFile()
346. }
347. 
348. int
     ^
349. copyFaxFile(TIFF* tifin, TIFF* tifout)
350. {

tools/fax2tiff.c:352:20: Condition is true
350. {
351. 	uint32 row;
352. 	uint32 linesize = TIFFhowmany8(xsize);
                        ^
353. 	uint16 badrun;
354. 	int ok;

tools/fax2tiff.c:352:2: 
350. {
351. 	uint32 row;
352. 	uint32 linesize = TIFFhowmany8(xsize);
      ^
353. 	uint16 badrun;
354. 	int ok;

tools/fax2tiff.c:356:2: Skipping __function_pointer__(): unresolved function pointer
354. 	int ok;
355. 
356. 	tifin->tif_rawdatasize = (tmsize_t)TIFFGetFileSize(tifin);
      ^
357. 	tifin->tif_rawdata = _TIFFmalloc(tifin->tif_rawdatasize);
358. 	if (tifin->tif_rawdata == NULL) {

tools/fax2tiff.c:357:2: 
355. 
356. 	tifin->tif_rawdatasize = (tmsize_t)TIFFGetFileSize(tifin);
357. 	tifin->tif_rawdata = _TIFFmalloc(tifin->tif_rawdatasize);
      ^
358. 	if (tifin->tif_rawdata == NULL) {
359. 		TIFFError(tifin->tif_name, "Not enough memory");

libtiff/tif_unix.c:277:1: start of procedure _TIFFmalloc()
  275. #endif
  276. 
  277. void*
       ^
  278. _TIFFmalloc(tmsize_t s)
  279. {

libtiff/tif_unix.c:280:13: Taking false branch
  278. _TIFFmalloc(tmsize_t s)
  279. {
  280.         if (s == 0)
                   ^
  281.                 return ((void *) NULL);
  282. 

libtiff/tif_unix.c:283:2: 
  281.                 return ((void *) NULL);
  282. 
  283. 	return (malloc((size_t) s));
        ^
  284. }
  285. 

libtiff/tif_unix.c:284:1: return from a call to _TIFFmalloc
  282. 
  283. 	return (malloc((size_t) s));
  284. }
       ^
  285. 
  286. void

tools/fax2tiff.c:358:6: Taking false branch
356. 	tifin->tif_rawdatasize = (tmsize_t)TIFFGetFileSize(tifin);
357. 	tifin->tif_rawdata = _TIFFmalloc(tifin->tif_rawdatasize);
358. 	if (tifin->tif_rawdata == NULL) {
          ^
359. 		TIFFError(tifin->tif_name, "Not enough memory");
360. 		return (0);

tools/fax2tiff.c:362:7: Taking false branch
360. 		return (0);
361. 	}
362. 	if (!ReadOK(tifin, tifin->tif_rawdata, tifin->tif_rawdatasize)) {
           ^
363. 		TIFFError(tifin->tif_name, "Read error at scanline 0");
364. 		return (0);

tools/fax2tiff.c:366:2: 
364. 		return (0);
365. 	}
366. 	tifin->tif_rawcp = tifin->tif_rawdata;
      ^
367. 	tifin->tif_rawcc = tifin->tif_rawdatasize;
368. 

tools/fax2tiff.c:367:2: 
365. 	}
366. 	tifin->tif_rawcp = tifin->tif_rawdata;
367. 	tifin->tif_rawcc = tifin->tif_rawdatasize;
      ^
368. 
369. 	(*tifin->tif_setupdecode)(tifin);

tools/fax2tiff.c:369:2: Skipping __function_pointer__(): unresolved function pointer
367. 	tifin->tif_rawcc = tifin->tif_rawdatasize;
368. 
369. 	(*tifin->tif_setupdecode)(tifin);
      ^
370. 	(*tifin->tif_predecode)(tifin, (tsample_t) 0);
371. 	tifin->tif_row = 0;
