Skip to content

Commit 11fa360

Browse files
committed
in_opentelemetry: destroy profiles on log encoding
Signed-off-by: Eduardo Silva <eduardo@chronosphere.io>
1 parent 205cb3c commit 11fa360

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

plugins/in_opentelemetry/opentelemetry_prot.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -693,9 +693,7 @@ static int process_payload_profiles_ng(struct flb_opentelemetry *ctx,
693693
tag,
694694
profiles_context);
695695

696-
if (ret != FLB_INPUT_INGRESS_BUSY) {
697-
cprof_decode_opentelemetry_destroy(profiles_context);
698-
}
696+
cprof_decode_opentelemetry_destroy(profiles_context);
699697
}
700698
else {
701699
ret = opentelemetry_ingest_profiles(ctx,

0 commit comments

Comments
 (0)