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]

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


From: "Stathis Kamperis \(via DragonFly issue tracker\)" <sinknull@xxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 06 Jul 2009 15:53:30 +0000

Stathis Kamperis <ekamperi@gmail.com> added the comment:

> hdestroy(3) frees the memory pointed to by the hash key. In other words it
> expects the user to always have malloc()'ed rather than used static allocation
> 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

----------
status: unread -> chatting

_____________________________________________________
DragonFly issue tracker <bugs@lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue1398>
_____________________________________________________



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