cppkafka
cppkafka copied to clipboard
Memory leak when Consumer fails to create
The leak is detected via address sanitizer here: https://github.com/mfontanini/cppkafka/blob/master/src/consumer.cpp#L66
The rd_kafka_new()
internally doesn't free app_conf
on failure. So the dupped configuration handler gets lost.