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


apps/speed.c:2557:1: start of procedure do_multi()
2555.   
2556.   #ifdef HAVE_FORK
2557. > static int do_multi(int multi)
2558.   	{
2559.   	int n;

apps/speed.c:2562:2: 
2560.   	int fd[2];
2561.   	int *fds;
2562. > 	static char sep[]=":";
2563.   
2564.   	fds=malloc(multi*sizeof *fds);

apps/speed.c:2564:2: 
2562.   	static char sep[]=":";
2563.   
2564. > 	fds=malloc(multi*sizeof *fds);
2565.   	for(n=0 ; n < multi ; ++n)
2566.   		{

apps/speed.c:2565:6: 
2563.   
2564.   	fds=malloc(multi*sizeof *fds);
2565. > 	for(n=0 ; n < multi ; ++n)
2566.   		{
2567.   		pipe(fd);

apps/speed.c:2565:12: Loop condition is true. Entering loop body
2563.   
2564.   	fds=malloc(multi*sizeof *fds);
2565.   	for(n=0 ; n < multi ; ++n)
                   ^
2566.   		{
2567.   		pipe(fd);

apps/speed.c:2567:3: 
2565.   	for(n=0 ; n < multi ; ++n)
2566.   		{
2567. > 		pipe(fd);
2568.   		if(fork())
2569.   			{

apps/speed.c:2568:6: Taking false branch
2566.   		{
2567.   		pipe(fd);
2568.   		if(fork())
             ^
2569.   			{
2570.   			close(fd[1]);

apps/speed.c:2575:4: 
2573.   		else
2574.   			{
2575. > 			close(fd[0]);
2576.   			close(1);
2577.   			dup(fd[1]);
