X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Ffilecount.c;h=03c018b20de938826fdf7b4c073b58ea4b1156ee;hb=f2919408f226280cdf9cab2de81dd1716ec31a93;hp=47f99e91c8e3df2a502208ba6f99f6596afe10e1;hpb=66f9d645f883eee0aa408428eefdebdcc6dcfa7e;p=collectd.git diff --git a/src/filecount.c b/src/filecount.c index 47f99e91..03c018b2 100644 --- a/src/filecount.c +++ b/src/filecount.c @@ -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); }