Skip to content

Commit

Permalink
out_kafka: add missing initialization (CID 507783)
Browse files Browse the repository at this point in the history
Signed-off-by: Eduardo Silva <[email protected]>
  • Loading branch information
edsiper committed Aug 9, 2024
1 parent 54de999 commit e84d9ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/out_kafka/kafka.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ int produce_message(struct flb_time *tm, msgpack_object *map,
msgpack_packer mp_pck;
msgpack_object key;
msgpack_object val;
flb_sds_t s;
flb_sds_t s = NULL;

#ifdef FLB_HAVE_AVRO_ENCODER
// used to flag when a buffer needs to be freed for avro
Expand Down

0 comments on commit e84d9ff

Please sign in to comment.