(getifaddrs2): close socket when done
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9782 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
		@@ -170,9 +170,11 @@ getifaddrs2(struct ifaddrs **ifap,
 | 
			
		||||
	
 | 
			
		||||
    }
 | 
			
		||||
    *ifap = start;
 | 
			
		||||
    close(fd);
 | 
			
		||||
    free(buf);
 | 
			
		||||
    return 0;
 | 
			
		||||
  error_out:
 | 
			
		||||
    close(fd);
 | 
			
		||||
    free(buf);
 | 
			
		||||
    errno = ret;
 | 
			
		||||
    return -1;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user