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


apps/speed.c:1660:1: start of procedure do_multi()
1658.   
1659.   #ifdef HAVE_FORK
1660. > static int do_multi(int multi)
1661.   	{
1662.   	int n;

apps/speed.c:1665:2: 
1663.   	int fd[2];
1664.   	int *fds;
1665. > 	static char sep[]=":";
1666.   
1667.   	fds=malloc(multi*sizeof *fds);

apps/speed.c:1667:2: 
1665.   	static char sep[]=":";
1666.   
1667. > 	fds=malloc(multi*sizeof *fds);
1668.   	for(n=0 ; n < multi ; ++n)
1669.   		{

apps/speed.c:1668:6: 
1666.   
1667.   	fds=malloc(multi*sizeof *fds);
1668. > 	for(n=0 ; n < multi ; ++n)
1669.   		{
1670.   		pipe(fd);

apps/speed.c:1668:12: Loop condition is true. Entering loop body
1666.   
1667.   	fds=malloc(multi*sizeof *fds);
1668.   	for(n=0 ; n < multi ; ++n)
                   ^
1669.   		{
1670.   		pipe(fd);

apps/speed.c:1670:3: 
1668.   	for(n=0 ; n < multi ; ++n)
1669.   		{
1670. > 		pipe(fd);
1671.   		if(fork())
1672.   			{

apps/speed.c:1671:6: Taking false branch
1669.   		{
1670.   		pipe(fd);
1671.   		if(fork())
             ^
1672.   			{
1673.   			close(fd[1]);

apps/speed.c:1678:4: 
1676.   		else
1677.   			{
1678. > 			close(fd[0]);
1679.   			close(1);
1680.   			dup(fd[1]);
