X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Ffilecount.c;h=9ea8af7abe2792ebc7235094cb67f37e75a668e8;hb=dc2eb041159b967838a2eb658cb256bc846c5264;hp=47caf93f264af693e0e011634abbf62345b62908;hpb=8aad55ab7d737a97d5927458b2b00885e27cae4d;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); }