{"action":"closed","issue":{"url":"https://api.github.com/repos/bitcoin/bitcoin/issues/13270","repository_url":"https://api.github.com/repos/bitcoin/bitcoin","labels_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/13270/labels{/name}","comments_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/13270/comments","events_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/13270/events","html_url":"https://github.com/bitcoin/bitcoin/issues/13270","id":324256833,"number":13270,"title":"\"resource leak \" issue","user":{"login":"wudigithub1","id":8551709,"avatar_url":"https://avatars0.githubusercontent.com/u/8551709?v=4","gravatar_id":"","url":"https://api.github.com/users/wudigithub1","html_url":"https://github.com/wudigithub1","followers_url":"https://api.github.com/users/wudigithub1/followers","following_url":"https://api.github.com/users/wudigithub1/following{/other_user}","gists_url":"https://api.github.com/users/wudigithub1/gists{/gist_id}","starred_url":"https://api.github.com/users/wudigithub1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wudigithub1/subscriptions","organizations_url":"https://api.github.com/users/wudigithub1/orgs","repos_url":"https://api.github.com/users/wudigithub1/repos","events_url":"https://api.github.com/users/wudigithub1/events{/privacy}","received_events_url":"https://api.github.com/users/wudigithub1/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-05-18T03:18:31Z","updated_at":"2018-05-18T05:41:19Z","closed_at":"2018-05-18T05:41:19Z","author_association":"NONE","body":"<!-- This issue tracker is only for technical issues related to Bitcoin Core.\r\n\r\nGeneral bitcoin questions and/or support requests are best directed to the Bitcoin StackExchange at https://bitcoin.stackexchange.com.\r\n\r\nFor reporting security issues, please read instructions at https://bitcoincore.org/en/contact/.\r\n\r\nIf the node is \"stuck\" during sync or giving \"block checksum mismatch\" errors, please ensure your hardware is stable by running memtest and observe CPU temperature with a load-test tool such as linpack before creating an issue! -->\r\n\r\n<!-- Describe the issue -->\r\nversion:  0.16.0\r\nsource:  /src/wallet/rpcwallet.cpp\r\nline 606: resource leak\r\n\r\nin line 590:\r\n     HTTPEvent* ev = new HTTPEvent(eventBase, true, [req_copy, nStatus]{\r\n\r\nbut in the end of code segment，\"ev\" is not released. \r\n\r\n<!--- What behavior did you expect? -->\r\n\r\n<!--- What was the actual behavior (provide screenshots if the issue is GUI-related)? -->\r\n\r\n<!--- How reliably can you reproduce the issue, what are the steps to do so? -->\r\n\r\n<!-- What version of Bitcoin Core are you using, where did you get it (website, self-compiled, etc)? -->\r\n\r\n<!-- What type of machine are you observing the error on (OS/CPU and disk type)? -->\r\n\r\n<!-- Any extra information that might be useful in the debugging process. -->\r\n<!--- This is normally the contents of a `debug.log` or `config.log` file. Raw text or a link to a pastebin type site are preferred. -->\r\n"}}
{"actor":{"display_login":"wudigithub1"}}