filter_record_modifier: fix leak of split_entry
@@ -67,6 +67,7 @@ static int configure(struct record_modifier_ctx *ctx,
if (mk_list_size(split) != 2) {
flb_error("[%s] invalid record parameters",PLUGIN_NAME);
flb_free(mod_record);
+ flb_utils_split_free(split);
continue;
}
/* Get first value (field) */
