qi.ji created ZOOKEEPER-4975:
--------------------------------
Summary: memory leak when the c client opens SASL
Key: ZOOKEEPER-4975
URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4975
Project: ZooKeeper
Issue Type: Bug
Components: c client
Affects Versions: 3.9.4
Reporter: qi.ji
zoo_sasl_make_basic_callbacks() malloc some memory, but never free it. Even if
I want to free it from the outside, I can't get the struct zsasks_screen_ctx
defined in the zk_sasl.c. At present, I can only create my own callbacks
function to avoid this problem. zoo_sasl_make_basic_callbacks should be deleted
or repaired.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)