[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Kyle Purtell resolved ZOOKEEPER-2881.
--------------------------------------------
    Resolution: Duplicate

> memory leak in create_buffer_iarchive() and create_buffer_oarchive()
> --------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-2881
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2881
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: c client
>            Reporter: guoxiang niu
>            Priority: Minor
>
> in create_buffer_iarchive() function, null check of ia and return should be 
> done before allocing memory for buff, otherwise, memory of buff might be leak.
> same issue is existing in create_buffer_oarchive() function.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to