You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@zookeeper.apache.org by "qi.ji (Jira)" <ji...@apache.org> on 2025/09/10 09:15:00 UTC
[jira] [Created] (ZOOKEEPER-4975) memory leak when the c client opens SASL
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)