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

guoxiang niu updated ZOOKEEPER-2881:
------------------------------------
    Affects Version/s:     (was: 3.4.9)

> 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
(v6.4.14#64029)

Reply via email to