From 8835422655956498440fbcf94d63f9a7cce3fe89 Mon Sep 17 00:00:00 2001 From: ihsinme <61293369+ihsinme@users.noreply.github.com> Date: Wed, 20 Jan 2021 18:47:55 +0300 Subject: [PATCH] Update loki.c --- plugins/out_loki/loki.c | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/out_loki/loki.c b/plugins/out_loki/loki.c index fadb1181155..ee13febf4e1 100644 --- a/plugins/out_loki/loki.c +++ b/plugins/out_loki/loki.c @@ -128,6 +128,7 @@ int flb_loki_kv_append(struct flb_loki *ctx, char *key, char *val) flb_plg_error(ctx->ins, "key name for record accessor cannot start with a number: %s", key); + flb_free(kv); return -1; }