Skip to content

Commit c20c535

Browse files
Mostafa Razaviedenhill
authored andcommitted
Fix crash when new topic is not created.
The removed line (`i++;`) caused the most recent topic, which has just failed to be created, to be passed to rdkafka to be destroyed, causing a crash.
1 parent 5804621 commit c20c535

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

confluent_kafka/src/Admin.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,6 @@ static PyObject *Admin_create_topics (Handle *self, PyObject *args,
394394
PyErr_Format(PyExc_ValueError,
395395
"Invalid NewTopic(%s): %s",
396396
newt->topic, errstr);
397-
i++;
398397
goto err;
399398
}
400399

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy