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

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

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

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

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

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

libtiff/tif_unix.c:257:1: start of procedure _TIFFmalloc()
  255. #endif
  256. 
  257. void*
       ^
  258. _TIFFmalloc(tmsize_t s)
  259. {

libtiff/tif_unix.c:260:13: Taking false branch
  258. _TIFFmalloc(tmsize_t s)
  259. {
  260.         if (s == 0)
                   ^
  261.                 return ((void *) NULL);
  262. 

libtiff/tif_unix.c:263:2: 
  261.                 return ((void *) NULL);
  262. 
  263. 	return (malloc((size_t) s));
        ^
  264. }
  265. 

libtiff/tif_unix.c:264:1: return from a call to _TIFFmalloc
  262. 
  263. 	return (malloc((size_t) s));
  264. }
       ^
  265. 
  266. void

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

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

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

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

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