[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#318317: libc6: Numerous (49) memory leaks in gethostbyname, as reported by mudflap



* Vesselin Peev:

> #include <netdb.h>
> int main()
> {
> 	gethostbyname("www.google.com");
> 	return 0;
> }

> number of leaked objects: 49

This is not a problem, unless this number grows with each
gethostbyname invocation.  The underlying programming pattern which
causes this is quite common and perfectly harmless (if you get the
threading issues right, of coruse).



Reply to: