zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "guoxiang niu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ZOOKEEPER-2882) memory leak in zoo_amulti() function
Date Wed, 23 Aug 2017 15:12:00 GMT

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

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

> memory leak in zoo_amulti() function
> ------------------------------------
>
>                 Key: ZOOKEEPER-2882
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2882
>             Project: ZooKeeper
>          Issue Type: Bug
>            Reporter: guoxiang niu
>            Priority: Minor
>
> when default branch is executed in switch(op->type) , alloced memory for oa variable
will leak, so, close_buffer_oarchive(&oa, 1); should be called before returning in default
branch.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message