skiplist insert free?

Andreas Ericsson ae at op5.se
Sun Sep 28 16:54:29 CEST 2008


hirenp wrote:
> Hi,
> 
> I'm wondering if this is a valid submission:
> 

I'll look into it. If the skiplist api copies the passed data,
then it's correct (as the caller will never have a pointer to
the data in that case). If the api doesn't, then it's wrong,
as the caller may need to do something else with the pointer
when the skiplist insertion fails.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/




More information about the Developers mailing list