author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Fri, 15 Apr 2016 09:32:49 +0000 (11:32 +0200) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Fri, 15 Apr 2016 09:32:49 +0000 (11:32 +0200) |
src/collectd.conf.pod | patch | blob | history | |
src/processes.c | patch | blob | history |
diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod
index 54dc648831f24287ba8779d18a26c33b5a8eec8a..f99818ce90b5abaddba3c6da8e7f16632c68f247 100644 (file)
--- a/src/collectd.conf.pod
+++ b/src/collectd.conf.pod
in combination with recursively including a directory to easily be able to
arbitrarily mix configuration files and other documents (e.g. README files).
The given example is similar to the first example above but includes all files
-matching C<*.conf> in any subdirectory of C</etc/collectd.d>:
-
- Include "/etc/collectd.d" "*.conf"
+matching C<*.conf> in any subdirectory of C</etc/collectd.d>.
=back
diff --git a/src/processes.c b/src/processes.c
index d759cb7f181858f49e03db298aa620c1a179382f..efc64d0125af349a115bdd3c9b2bbcae7f8f30d4 100644 (file)
--- a/src/processes.c
+++ b/src/processes.c
ps->num_proc = 0;
ps->num_lwp = 0;
*state = (char) 'Z';
+
+ sfree(myStatus);
+ sfree(myInfo);
+ sfree(myUsage);
return (0);
} else {
ps->num_proc = 1;