Plug leak with ifp by calling freeifaddrs after calling getifaddrs
MFC after: 1 week Obtained from: NetBSD v1.18 Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
b7cdaf3621
commit
bee3d2d308
@ -393,6 +393,7 @@ network_init(void)
|
||||
if (debugging)
|
||||
perror("setsockopt v6 multicast");
|
||||
}
|
||||
freeifaddrs(ifp);
|
||||
#endif
|
||||
|
||||
/* close(s); */
|
||||
|
Loading…
Reference in New Issue
Block a user