[Nagiosplug-checkins] nagiosplug/plugins/tests test_utils.c,1.2,1.3

Ton Voon tonvoon at users.sourceforge.net
Tue Jan 31 06:37:16 CET 2006


Update of /cvsroot/nagiosplug/nagiosplug/plugins/tests
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16717/tests

Modified Files:
	test_utils.c 
Log Message:
Fixed invalid free

Index: test_utils.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/tests/test_utils.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- test_utils.c	30 Jan 2006 22:24:31 -0000	1.2
+++ test_utils.c	31 Jan 2006 14:36:23 -0000	1.3
@@ -31,7 +31,7 @@
 {
 	range	*range;
 	double	temp;
-	thresholds *thresholds;
+	thresholds *thresholds = NULL;
 	int	rc;
 
 	plan_tests(66);





More information about the Commits mailing list