cppkafka icon indicating copy to clipboard operation
cppkafka copied to clipboard

Memory leak when Consumer fails to create

Open abyss7 opened this issue 5 years ago • 0 comments

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.

abyss7 avatar May 15 '19 11:05 abyss7