DragonFly bugs List (threaded) for 2009-07
DragonFly BSD
DragonFly bugs List (threaded) for 2009-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: [issue1398] hdestroy(3) restricts hash key to point to malloc'ed space


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Mon, 6 Jul 2009 09:39:37 -0700 (PDT)

:Stathis Kamperis <ekamperi@gmail.com> added the comment:
:
:> hdestroy(3) frees the memory pointed to by the hash key. In other words i=
:t
:> expects the user to always have malloc()'ed rather than used static alloc=
:ation
:> for the hash key. This doesn't apply to the data associated with the key.
:
:Any thoughts about this one ?
:If no objections are raised, I'm going to push it in ~1 week.
:
:Cheers,
:Stathis

    Sure.  Does anyone even use those functions any more?  They
    aren't threadable.

						-Matt




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