Hi Lúcio, On Wed, Jan 21, 2009 at 1:29 AM, Lucio Maciel <luciofm@xxxxxxxxx> wrote: > Hi, there is a memory leak in the sample usage code in the getifaddrs > (3) man page. > > The code doesnt save the head pointer of the list, an then passes a > NULL pointer to the freeifaddrs(3) leaving all the memory unfreed. Thanks! I applied a change fairly similar to your patch for 3.18. Cheers, Michael -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html