parser: fix leak when reading configuration
@@ -432,6 +432,7 @@ int flb_parser_conf_file(char *file, struct flb_config *config)
MK_RCONF_STR);
if (str) {
time_keep = flb_utils_bool(str);
+ flb_free(str);
}
else {
time_keep = FLB_FALSE;
