Code

Fixed invalid free
authorTon Voon <tonvoon@users.sourceforge.net>
Tue, 31 Jan 2006 14:36:23 +0000 (14:36 +0000)
committerTon Voon <tonvoon@users.sourceforge.net>
Tue, 31 Jan 2006 14:36:23 +0000 (14:36 +0000)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1307 f882894a-f735-0410-b71e-b25c423dba1c

plugins/tests/test_utils.c

index 5604bacd3768cf67888197529e47c59d2db15270..27e28c7562ff3d0684d56acf99f3a60348caade9 100644 (file)
@@ -31,7 +31,7 @@ main (int argc, char **argv)
 {
        range   *range;
        double  temp;
-       thresholds *thresholds;
+       thresholds *thresholds = NULL;
        int     rc;
 
        plan_tests(66);