[Reconnoiter-devel] [reconnoiter commit] r1316 - trunk/src/modules

svn-commit at lists.omniti.com svn-commit at lists.omniti.com
Thu May 27 13:34:58 EDT 2010


Author: jesus
Date: 2010-05-27 13:34:58 -0400 (Thu, 27 May 2010)
New Revision: 1316

Modified:
   trunk/src/modules/collectd.c
Log:
refs #284

Modified: trunk/src/modules/collectd.c
===================================================================
--- trunk/src/modules/collectd.c	2010-05-27 17:34:01 UTC (rev 1315)
+++ trunk/src/modules/collectd.c	2010-05-27 17:34:58 UTC (rev 1316)
@@ -511,11 +511,11 @@
         break;
 
       default:
-        sfree (pkg_types);
-        sfree (pkg_values);
         noitL(noit_debug, "collectd: parse_part_values: "
       "Don't know how to handle data source type %"PRIu8 "\n",
       pkg_types[i]);
+        sfree (pkg_types);
+        sfree (pkg_values);
         return (-1);
     } /* switch (pkg_types[i]) */
   }



More information about the Reconnoiter-devel mailing list