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


apps/speed.c:2356:1: start of procedure do_multi()
2354.       }
2355.   
2356. > static int do_multi(int multi)
2357.   	{
2358.   	int n;

apps/speed.c:2361:2: 
2359.   	int fd[2];
2360.   	int *fds;
2361. > 	static char sep[]=":";
2362.   
2363.   	fds=malloc(multi*sizeof *fds);

apps/speed.c:2363:2: 
2361.   	static char sep[]=":";
2362.   
2363. > 	fds=malloc(multi*sizeof *fds);
2364.   	for(n=0 ; n < multi ; ++n)
2365.   		{

apps/speed.c:2364:6: 
2362.   
2363.   	fds=malloc(multi*sizeof *fds);
2364. > 	for(n=0 ; n < multi ; ++n)
2365.   		{
2366.   		pipe(fd);

apps/speed.c:2364:12: Loop condition is true. Entering loop body
2362.   
2363.   	fds=malloc(multi*sizeof *fds);
2364.   	for(n=0 ; n < multi ; ++n)
                   ^
2365.   		{
2366.   		pipe(fd);

apps/speed.c:2366:3: 
2364.   	for(n=0 ; n < multi ; ++n)
2365.   		{
2366. > 		pipe(fd);
2367.   		if(fork())
2368.   			{

apps/speed.c:2367:6: Taking false branch
2365.   		{
2366.   		pipe(fd);
2367.   		if(fork())
             ^
2368.   			{
2369.   			close(fd[1]);

apps/speed.c:2374:4: 
2372.   		else
2373.   			{
2374. > 			close(fd[0]);
2375.   			close(1);
2376.   			dup(fd[1]);
