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


apps/speed.c:2438:1: start of procedure do_multi()
2436.   
2437.   #ifdef HAVE_FORK
2438. > static int do_multi(int multi)
2439.   	{
2440.   	int n;

apps/speed.c:2443:2: 
2441.   	int fd[2];
2442.   	int *fds;
2443. > 	static char sep[]=":";
2444.   
2445.   	fds=malloc(multi*sizeof *fds);

apps/speed.c:2445:2: 
2443.   	static char sep[]=":";
2444.   
2445. > 	fds=malloc(multi*sizeof *fds);
2446.   	for(n=0 ; n < multi ; ++n)
2447.   		{

apps/speed.c:2446:6: 
2444.   
2445.   	fds=malloc(multi*sizeof *fds);
2446. > 	for(n=0 ; n < multi ; ++n)
2447.   		{
2448.   		pipe(fd);

apps/speed.c:2446:12: Loop condition is true. Entering loop body
2444.   
2445.   	fds=malloc(multi*sizeof *fds);
2446.   	for(n=0 ; n < multi ; ++n)
                   ^
2447.   		{
2448.   		pipe(fd);

apps/speed.c:2448:3: 
2446.   	for(n=0 ; n < multi ; ++n)
2447.   		{
2448. > 		pipe(fd);
2449.   		if(fork())
2450.   			{

apps/speed.c:2449:6: Taking false branch
2447.   		{
2448.   		pipe(fd);
2449.   		if(fork())
             ^
2450.   			{
2451.   			close(fd[1]);

apps/speed.c:2456:4: 
2454.   		else
2455.   			{
2456. > 			close(fd[0]);
2457.   			close(1);
2458.   			dup(fd[1]);
