From 91478eba9476129b10b0e3c056b677fc082b4c4f Mon Sep 17 00:00:00 2001 From: Wesley Pettit Date: Wed, 16 Mar 2022 20:53:50 -0700 Subject: [PATCH] wip --- plugins/filter_multiline/ml_concat.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/filter_multiline/ml_concat.c b/plugins/filter_multiline/ml_concat.c index 36330e5ae13..e1ebe7d29bb 100644 --- a/plugins/filter_multiline/ml_concat.c +++ b/plugins/filter_multiline/ml_concat.c @@ -214,7 +214,7 @@ struct split_message_packer *ml_create_packer(const char *tag, char *input_name, tmp = flb_sds_create(tag); if (!tmp) { flb_errno(); - split_message_packer_destroy(packer); + ml_split_message_packer_destroy(packer); return NULL; } packer->tag = tmp; @@ -222,7 +222,7 @@ struct split_message_packer *ml_create_packer(const char *tag, char *input_name, tmp = flb_sds_create_len(partial_id_str, partial_id_size); if (!tmp) { flb_errno(); - split_message_packer_destroy(packer); + ml_split_message_packer_destroy(packer); return NULL; } packer->partial_id = tmp; @@ -230,7 +230,7 @@ struct split_message_packer *ml_create_packer(const char *tag, char *input_name, packer->buf = flb_sds_create_size(FLB_MULTILINE_PARTIAL_BUF_SIZE); if (!packer->buf) { flb_errno(); - split_message_packer_destroy(packer); + ml_split_message_packer_destroy(packer); return NULL; } @@ -241,7 +241,7 @@ struct split_message_packer *ml_create_packer(const char *tag, char *input_name, split_kv = ml_get_key(map, multiline_key_content); if (split_kv == NULL) { flb_error("[partial message concat] Could not find key %s in record", multiline_key_content); - split_message_packer_destroy(packer); + ml_split_message_packer_destroy(packer); return NULL; }