Re: [patch] freeaddrinfo.3: memory leaks in freeaddrinfo examples

2020-09-17 Thread Michael Kerrisk (man-pages)
[CC += beej, to alert the author about the memory leaks in the network programming guide] Hello Marko, > On Thu, Sep 17, 2020 at 7:42 AM Michael Kerrisk (man-pages) < > mtk.manpa...@gmail.com> wrote: > >> Hi Marko, >> >> On Thu, 17 Sep 2020 at 07:34, Marko Hrastovec >> wrote: >>> >>> Hi, >>> >

Re: [patch] freeaddrinfo.3: memory leaks in freeaddrinfo examples

2020-09-16 Thread Michael Kerrisk (man-pages)
Hi Marko, On Thu, 17 Sep 2020 at 07:34, Marko Hrastovec wrote: > > Hi, > > examples in freeaddrinfo.3 have a memory leak, which is replicated in many > real world programs copying an example from manual pages. The two examples > should have different order of lines, which is done in the followi