[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

[Nagios-devel] skiplist insert free?

Post by Guest »

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;
}








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