NetBSD-Bugs archive

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

Re: lib/50681: memory leak in tdelete(3) when deleting root node



On Jan 20,  7:35pm, markiyan.kushnir%gmail.com@localhost (Markiyan Kushnir) wrote:
-- Subject: Re: lib/50681: memory leak in tdelete(3) when deleting root node

|  Based on discussion with Pedro F. Giffuni (pfg%freebsd.org@localhost) and
|  further with Ed Shouten (ed%freebsd.org@localhost), my suggestion to return NULL
|  in that case was not correct.  A recent revision of POSIX prescribes
|  to return "unspecified non-null pointer" in this case.  So just a
|  reversal of revision 1.4 of tdelete.c was suggested.
|  

But that leaks? Right?

christos


Home | Main Index | Thread Index | Old Index