Skip to content

Commit

Permalink
log_event_decoder: use flb_free
Browse files Browse the repository at this point in the history
Signed-off-by: Takahiro Yamashita <nokute78@gmail.com>
  • Loading branch information
nokute78 committed Jun 30, 2023
1 parent be8a701 commit 594a572
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/flb_log_event_decoder.c
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ void flb_log_event_decoder_destroy(struct flb_log_event_decoder *context)
context->initialized = FLB_FALSE;

if (dynamically_allocated) {
free(context);
flb_free(context);
}
}
}
Expand Down

0 comments on commit 594a572

Please sign in to comment.