X-Git-Url: https://git.octo.it/?a=blobdiff_plain;ds=sidebyside;f=src%2Ffilecount.c;h=9ea8af7abe2792ebc7235094cb67f37e75a668e8;hb=0ba2f3a1a1db4ed7ce6f990b22b9605e19fc7ab9;hp=47f99e91c8e3df2a502208ba6f99f6596afe10e1;hpb=dbcb0610ae7dfa0155b04aa4174ec35a1058d18e;p=collectd.git diff --git a/src/filecount.c b/src/filecount.c index 47f99e91..9ea8af7a 100644 --- a/src/filecount.c +++ b/src/filecount.c @@ -18,7 +18,7 @@ * * Authors: * Alessandro Iurlano - * Florian octo Forster + * Florian octo Forster **/ #include "collectd.h" @@ -356,6 +356,7 @@ static int fc_config_add_dir (oconfig_item_t *ci) if (dir->path == NULL) { ERROR ("filecount plugin: strdup failed."); + sfree (dir); return (-1); }