Page 1 of 1

Re: [Nagios-devel] skiplist insert free?

Posted: Wed Oct 15, 2008 2:19 pm
by Guest
This has already been fixed in CVS. Probably in the 3.0.2 or 3.0.3
release as well.

hirenp wrote:
> Hi,
>
> I'm wondering if this is a valid submission:
>
> --- common/skiplist.c 2008-02-29 03:11:16.000000000 +0200
> +++ /tmp/skiplist.c 2008-09-28 12:17:20.000000000 +0200
> @@ -86,6 +86,7 @@
> /* NOTE: this could made be more efficient */
> if(list->allow_duplicates==FALSE){
> if(skiplist_find_first(list,data,NULL))
> + free(update);
> return SKIPLIST_ERROR_DUPLICATE;
> }
>


- Ethan Galstad





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