Re: [Nagios-devel] skiplist insert free?

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] skiplist insert free?

Post by Guest »

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 [email protected]
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked