X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Ffilecount.c;h=9ea8af7abe2792ebc7235094cb67f37e75a668e8;hb=af512f0e603c15ced6b4f70db3dd0c2200b4a094;hp=47caf93f264af693e0e011634abbf62345b62908;hpb=cf33da9ad00ac94931a2c87563f8d007a996f1ad;p=collectd.git diff --git a/src/filecount.c b/src/filecount.c index 47caf93f..9ea8af7a 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); }