Skip to content

Commit

Permalink
Fix for issue fluent#1840
Browse files Browse the repository at this point in the history
  • Loading branch information
phiremande committed Dec 30, 2019
1 parent a9217f1 commit aa6b258
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/flb_output.c
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ int flb_output_instance_destroy(struct flb_output_instance *ins)
#endif

#ifdef FLB_HAVE_TLS
if (ins->flags & FLB_IO_TLS) {
if (ins->use_tls == FLB_TRUE) {
if (ins->tls.context) {
flb_tls_context_destroy(ins->tls.context);
}
Expand Down

0 comments on commit aa6b258

Please sign in to comment.