[issue1398] hdestroy(3) restricts hash key to point to malloc'ed space
Stathis Kamperis (via DragonFly issue tracker)
sinknull at leaf.dragonflybsd.org
Mon Jul 6 08:54:05 PDT 2009
Stathis Kamperis <ekamperi at 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 at lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue1398>
_____________________________________________________
More information about the Bugs
mailing list