tags 572508 fixed-upstream thanks On Thu, Mar 4, 2010 at 5:38 PM, Robert Wohlrab <robert.wohl...@gmx.de> wrote: > Package: manpages-dev > Version: 3.24-1 > Severity: wishlist > > The manpage of getline shows an example with an extra NULL pointer check > before it calls free. This is unneeded according to free(3) > > If ptr is NULL, no operation is performed. > > Can you please remove the if to make the example easier to read and to be more > consistent with the statements given in free(3).
Speaking from upstream, I've accepted this patch, for upstream man-pages-3.25. Cheers, Michael -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Author of "The Linux Programming Interface" http://blog.man7.org/ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org