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


apps/speed.c:2395:1: start of procedure do_multi()
2393.   
2394.   #ifdef HAVE_FORK
2395. > static int do_multi(int multi)
2396.   	{
2397.   	int n;

apps/speed.c:2400:2: 
2398.   	int fd[2];
2399.   	int *fds;
2400. > 	static char sep[]=":";
2401.   
2402.   	fds=malloc(multi*sizeof *fds);

apps/speed.c:2402:2: 
2400.   	static char sep[]=":";
2401.   
2402. > 	fds=malloc(multi*sizeof *fds);
2403.   	for(n=0 ; n < multi ; ++n)
2404.   		{

apps/speed.c:2403:6: 
2401.   
2402.   	fds=malloc(multi*sizeof *fds);
2403. > 	for(n=0 ; n < multi ; ++n)
2404.   		{
2405.   		pipe(fd);

apps/speed.c:2403:12: Loop condition is true. Entering loop body
2401.   
2402.   	fds=malloc(multi*sizeof *fds);
2403.   	for(n=0 ; n < multi ; ++n)
                   ^
2404.   		{
2405.   		pipe(fd);

apps/speed.c:2405:3: 
2403.   	for(n=0 ; n < multi ; ++n)
2404.   		{
2405. > 		pipe(fd);
2406.   		if(fork())
2407.   			{

apps/speed.c:2406:6: Taking false branch
2404.   		{
2405.   		pipe(fd);
2406.   		if(fork())
             ^
2407.   			{
2408.   			close(fd[1]);

apps/speed.c:2413:4: 
2411.   		else
2412.   			{
2413. > 			close(fd[0]);
2414.   			close(1);
2415.   			dup(fd[1]);
