summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 585e552)
raw | patch | inline | side by side (parent: 585e552)
author | ciomaire <cmacaniomaire@gmail.com> | |
Wed, 15 Apr 2015 13:19:27 +0000 (06:19 -0700) | ||
committer | ciomaire <cmacaniomaire@gmail.com> | |
Wed, 15 Apr 2015 13:19:27 +0000 (06:19 -0700) |
src/write_kafka.c | patch | blob | history |
diff --git a/src/write_kafka.c b/src/write_kafka.c
index c5c7e3df9b3bac47b78b3fd216b13655b308b2c1..b6e89618ec9ddbf51738556171ace8b278944130 100644 (file)
--- a/src/write_kafka.c
+++ b/src/write_kafka.c
}
rd_kafka_conf_destroy(ctx->kafka_conf);
+ ctx->kafka_conf = NULL;
+
INFO ("write_kafka plugin: created KAFKA handle : %s", rd_kafka_name(ctx->kafka));
#ifdef HAVE_LIBRDKAFKA_LOGGER
}
rd_kafka_topic_conf_destroy(ctx->conf);
+ ctx->conf = NULL;
+
INFO ("write_kafka plugin: handle created for topic : %s", rd_kafka_topic_name(ctx->topic));
}