apps/speed.c:1701: error: MEMORY_LEAK
  memory dynamically allocated by call to `malloc()` at line 1690, column 6 is not reachable after line 1701, column 10.
Showing all 8 steps of the trace


apps/speed.c:1683:1: start of procedure do_multi()
1681.   
1682.   #ifdef HAVE_FORK
1683. > static int do_multi(int multi)
1684.   	{
1685.   	int n;

apps/speed.c:1688:2: 
1686.   	int fd[2];
1687.   	int *fds;
1688. > 	static char sep[]=":";
1689.   
1690.   	fds=malloc(multi*sizeof *fds);

apps/speed.c:1690:2: 
1688.   	static char sep[]=":";
1689.   
1690. > 	fds=malloc(multi*sizeof *fds);
1691.   	for(n=0 ; n < multi ; ++n)
1692.   		{

apps/speed.c:1691:6: 
1689.   
1690.   	fds=malloc(multi*sizeof *fds);
1691. > 	for(n=0 ; n < multi ; ++n)
1692.   		{
1693.   		pipe(fd);

apps/speed.c:1691:12: Loop condition is true. Entering loop body
1689.   
1690.   	fds=malloc(multi*sizeof *fds);
1691.   	for(n=0 ; n < multi ; ++n)
                   ^
1692.   		{
1693.   		pipe(fd);

apps/speed.c:1693:3: 
1691.   	for(n=0 ; n < multi ; ++n)
1692.   		{
1693. > 		pipe(fd);
1694.   		if(fork())
1695.   			{

apps/speed.c:1694:6: Taking false branch
1692.   		{
1693.   		pipe(fd);
1694.   		if(fork())
             ^
1695.   			{
1696.   			close(fd[1]);

apps/speed.c:1701:4: 
1699.   		else
1700.   			{
1701. > 			close(fd[0]);
1702.   			close(1);
1703.   			dup(fd[1]);
