[
https://issues.apache.org/jira/browse/ZOOKEEPER-2882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16144565#comment-16144565
]
guoxiang niu commented on ZOOKEEPER-2882:
-----------------------------------------
when i changed the code, and try to execute "git add ." command, following
message occured, how to solve it? thanks.
$ git add .
warning: LF will be replaced by CRLF in .android/adbkey.
The file will have its original line endings in your working directory.
error: open("AppData/Local/Comms/UnistoreDB/store.vol"): Permission denied
error: unable to index file AppData/Local/Comms/UnistoreDB/store.vol
fatal: adding files failed
> memory leak in zoo_amulti() function
> ------------------------------------
>
> Key: ZOOKEEPER-2882
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2882
> Project: ZooKeeper
> Issue Type: Bug
> Components: c client
> Reporter: guoxiang niu
> Assignee: 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)