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


apps/speed.c:2405:1: start of procedure do_multi()
2403.   
2404.   #ifdef HAVE_FORK
2405. > static int do_multi(int multi)
2406.   	{
2407.   	int n;

apps/speed.c:2410:2: 
2408.   	int fd[2];
2409.   	int *fds;
2410. > 	static char sep[]=":";
2411.   
2412.   	fds=malloc(multi*sizeof *fds);

apps/speed.c:2412:2: 
2410.   	static char sep[]=":";
2411.   
2412. > 	fds=malloc(multi*sizeof *fds);
2413.   	for(n=0 ; n < multi ; ++n)
2414.   		{

apps/speed.c:2413:6: 
2411.   
2412.   	fds=malloc(multi*sizeof *fds);
2413. > 	for(n=0 ; n < multi ; ++n)
2414.   		{
2415.   		pipe(fd);

apps/speed.c:2413:12: Loop condition is true. Entering loop body
2411.   
2412.   	fds=malloc(multi*sizeof *fds);
2413.   	for(n=0 ; n < multi ; ++n)
                   ^
2414.   		{
2415.   		pipe(fd);

apps/speed.c:2415:3: 
2413.   	for(n=0 ; n < multi ; ++n)
2414.   		{
2415. > 		pipe(fd);
2416.   		if(fork())
2417.   			{

apps/speed.c:2416:6: Taking false branch
2414.   		{
2415.   		pipe(fd);
2416.   		if(fork())
             ^
2417.   			{
2418.   			close(fd[1]);

apps/speed.c:2423:4: 
2421.   		else
2422.   			{
2423. > 			close(fd[0]);
2424.   			close(1);
2425.   			dup(fd[1]);
