summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5b392ea)
raw | patch | inline | side by side (parent: 5b392ea)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sat, 5 Dec 2015 12:21:25 +0000 (13:21 +0100) | ||
committer | Florian Forster <octo@collectd.org> | |
Sat, 5 Dec 2015 20:29:31 +0000 (21:29 +0100) |
CID #42774
Signed-off-by: Florian Forster <octo@collectd.org>
Signed-off-by: Florian Forster <octo@collectd.org>
src/varnish.c | patch | blob | history |
diff --git a/src/varnish.c b/src/varnish.c
index 3a8dddd78ac05bbf2633c362dda2f90a350e0d8a..bf248456f393744dfcd4d530466fd2939f1c6a6d 100644 (file)
--- a/src/varnish.c
+++ b/src/varnish.c
{
WARNING ("Varnish plugin: \"Instance\" blocks accept only "
"one argument.");
+ sfree (conf);
return (EINVAL);
}
WARNING ("Varnish plugin: No metric has been configured for "
"instance \"%s\". Disabling this instance.",
(conf->instance == NULL) ? "localhost" : conf->instance);
+ sfree (conf);
return (EINVAL);
}