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


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

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

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

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

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

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

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

apps/speed.c:2426:4: 
2424.   		else
2425.   			{
2426. > 			close(fd[0]);
2427.   			close(1);
2428.   			dup(fd[1]);
