[Nagiosplug-devel] Nagiosplugins 1.4.11 on HP UX

Ton Voon ton.voon at altinity.com
Tue Feb 12 10:06:41 CET 2008


On 12 Feb 2008, at 03:22, Thomas Guyot-Sionnest wrote:

> Normally the thresholds variable should be initialized to NULL, so any
> non-null should be free()able. Anyways my vote would be to leave the  
> job
> of freeing that variable prior to re-assignation to the calling  
> program.
> Considering that most programs calls that function only once it makes
> sense...
>
> On top of my head that could possibly break check_disk that uses
> threshold functions extensively and supports multiple objects and  
> their
> respective thresholds.
>
> Any objection that I drop these lines and move the free to the plugins
> that re-assign thresholds?

Yeah, I think that makes sense.

Ton

http://www.altinity.com
UK: +44 (0)870 787 9243
US: +1 866 879 9184
Fax: +44 (0)845 280 1725
Skype: tonvoon





More information about the Devel mailing list