Skip to content

Commit e82fe24

Browse files
committed
out_kafka: do not release config map properties
Signed-off-by: Eduardo Silva <[email protected]>
1 parent a6f30d0 commit e82fe24

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

plugins/out_kafka/kafka_config.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -308,14 +308,6 @@ int flb_out_kafka_destroy(struct flb_out_kafka *ctx)
308308
flb_kafka_opaque_destroy(ctx->opaque);
309309
}
310310

311-
if (ctx->topic_key) {
312-
flb_free(ctx->topic_key);
313-
}
314-
315-
if (ctx->message_key_field) {
316-
flb_free(ctx->message_key_field);
317-
}
318-
319311
flb_sds_destroy(ctx->gelf_fields.timestamp_key);
320312
flb_sds_destroy(ctx->gelf_fields.host_key);
321313
flb_sds_destroy(ctx->gelf_fields.short_message_key);

0 commit comments

Comments
 (0)