Просмотр исходного кода

Fixed invalid free

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1307 f882894a-f735-0410-b71e-b25c423dba1c
Ton Voon 20 лет назад
Родитель
Сommit
bec6af5108
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      plugins/tests/test_utils.c

+ 1 - 1
plugins/tests/test_utils.c

@@ -31,7 +31,7 @@ main (int argc, char **argv)
 {
 	range	*range;
 	double	temp;
-	thresholds *thresholds;
+	thresholds *thresholds = NULL;
 	int	rc;
 
 	plan_tests(66);