Skip to content

Commit

Permalink
Create librdkafka-tarantool-security-72.patch
Browse files Browse the repository at this point in the history
  • Loading branch information
filonenko-mikhail committed Feb 16, 2023
1 parent 28d0d7b commit 52d39a8
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions patches/librdkafka-tarantool-security-72.patch
Original file line number Diff line number Diff line change
@@ -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;
}

0 comments on commit 52d39a8

Please sign in to comment.