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
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.
I'll tweak the example in the man page, add a few words in the text and commit it.
Reviewed by dillon@ and hasso@.
Cheers,
Stathis
_____________________________________________________
DragonFly issue tracker <bugs@lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue1398>
_____________________________________________________
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]