From 52d39a8de34c68645c3db1beadcb2632e857f139 Mon Sep 17 00:00:00 2001 From: Michael Filonenko Date: Thu, 16 Feb 2023 17:56:48 +0300 Subject: [PATCH] Create librdkafka-tarantool-security-72.patch --- patches/librdkafka-tarantool-security-72.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 patches/librdkafka-tarantool-security-72.patch diff --git a/patches/librdkafka-tarantool-security-72.patch b/patches/librdkafka-tarantool-security-72.patch new file mode 100644 index 0000000..4059ab1 --- /dev/null +++ b/patches/librdkafka-tarantool-security-72.patch @@ -0,0 +1,15 @@ +diff --git a/src/rdkafka_subscription.c b/src/rdkafka_subscription.c + index 08058935..2974d0dc 100644 + --- a/src/rdkafka_subscription.c + +++ b/src/rdkafka_subscription.c + @@ -196,8 +196,8 @@ const char *rd_kafka_rebalance_protocol(rd_kafka_t *rk) { + } + + result = rko->rko_u.rebalance_protocol.str; + - + - rd_kafka_op_destroy(rko); + + rd_kafka_op_t *rko_ = rko; + + rd_kafka_op_destroy(rko_); + + return result; + }