forked from RepentantGopher/tnt-kafka
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create librdkafka-tarantool-security-72.patch
- Loading branch information
1 parent
28d0d7b
commit 52d39a8
Showing
1 changed file
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} |