{"action":"opened","number":346,"pull_request":{"url":"https://api.github.com/repos/freenet/fred/pulls/346","id":33194473,"html_url":"https://github.com/freenet/fred/pull/346","diff_url":"https://github.com/freenet/fred/pull/346.diff","patch_url":"https://github.com/freenet/fred/pull/346.patch","issue_url":"https://api.github.com/repos/freenet/fred/issues/346","number":346,"state":"open","locked":false,"title":"Fix leak warnings and temp buckets/buffers (second attempt)","user":{"login":"toad","id":77427,"avatar_url":"https://avatars.githubusercontent.com/u/77427?v=3","gravatar_id":"","url":"https://api.github.com/users/toad","html_url":"https://github.com/toad","followers_url":"https://api.github.com/users/toad/followers","following_url":"https://api.github.com/users/toad/following{/other_user}","gists_url":"https://api.github.com/users/toad/gists{/gist_id}","starred_url":"https://api.github.com/users/toad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toad/subscriptions","organizations_url":"https://api.github.com/users/toad/orgs","repos_url":"https://api.github.com/users/toad/repos","events_url":"https://api.github.com/users/toad/events{/privacy}","received_events_url":"https://api.github.com/users/toad/received_events","type":"User","site_admin":false},"body":"When a temp RAF is closed we need to close the bucket as well to avoid a leak warning. But this is more complicated than it at first appears! Clarifies related code and improves things a bit.","created_at":"2015-04-13T19:21:09Z","updated_at":"2015-04-13T19:21:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/freenet/fred/pulls/346/commits","review_comments_url":"https://api.github.com/repos/freenet/fred/pulls/346/comments","review_comment_url":"https://api.github.com/repos/freenet/fred/pulls/comments{/number}","comments_url":"https://api.github.com/repos/freenet/fred/issues/346/comments","statuses_url":"https://api.github.com/repos/freenet/fred/statuses/c7e93f24ca676c67575fd576030dc84cd14e353b","head":{"label":"toad:fix-leak-warnings-temp-buckets-buffers-2","ref":"fix-leak-warnings-temp-buckets-buffers-2","sha":"c7e93f24ca676c67575fd576030dc84cd14e353b","user":{"login":"toad","id":77427,"avatar_url":"https://avatars.githubusercontent.com/u/77427?v=3","gravatar_id":"","url":"https://api.github.com/users/toad","html_url":"https://github.com/toad","followers_url":"https://api.github.com/users/toad/followers","following_url":"https://api.github.com/users/toad/following{/other_user}","gists_url":"https://api.github.com/users/toad/gists{/gist_id}","starred_url":"https://api.github.com/users/toad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toad/subscriptions","organizations_url":"https://api.github.com/users/toad/orgs","repos_url":"https://api.github.com/users/toad/repos","events_url":"https://api.github.com/users/toad/events{/privacy}","received_events_url":"https://api.github.com/users/toad/received_events","type":"User","site_admin":false},"repo":{"id":1028671,"name":"fred-staging","full_name":"toad/fred-staging","owner":{"login":"toad","id":77427,"avatar_url":"https://avatars.githubusercontent.com/u/77427?v=3","gravatar_id":"","url":"https://api.github.com/users/toad","html_url":"https://github.com/toad","followers_url":"https://api.github.com/users/toad/followers","following_url":"https://api.github.com/users/toad/following{/other_user}","gists_url":"https://api.github.com/users/toad/gists{/gist_id}","starred_url":"https://api.github.com/users/toad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toad/subscriptions","organizations_url":"https://api.github.com/users/toad/orgs","repos_url":"https://api.github.com/users/toad/repos","events_url":"https://api.github.com/users/toad/events{/privacy}","received_events_url":"https://api.github.com/users/toad/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/toad/fred-staging","description":"Freenet REference Daemon (trunk, writable by all devs)","fork":true,"url":"https://api.github.com/repos/toad/fred-staging","forks_url":"https://api.github.com/repos/toad/fred-staging/forks","keys_url":"https://api.github.com/repos/toad/fred-staging/keys{/key_id}","collaborators_url":"https://api.github.com/repos/toad/fred-staging/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/toad/fred-staging/teams","hooks_url":"https://api.github.com/repos/toad/fred-staging/hooks","issue_events_url":"https://api.github.com/repos/toad/fred-staging/issues/events{/number}","events_url":"https://api.github.com/repos/toad/fred-staging/events","assignees_url":"https://api.github.com/repos/toad/fred-staging/assignees{/user}","branches_url":"https://api.github.com/repos/toad/fred-staging/branches{/branch}","tags_url":"https://api.github.com/repos/toad/fred-staging/tags","blobs_url":"https://api.github.com/repos/toad/fred-staging/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/toad/fred-staging/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/toad/fred-staging/git/refs{/sha}","trees_url":"https://api.github.com/repos/toad/fred-staging/git/trees{/sha}","statuses_url":"https://api.github.com/repos/toad/fred-staging/statuses/{sha}","languages_url":"https://api.github.com/repos/toad/fred-staging/languages","stargazers_url":"https://api.github.com/repos/toad/fred-staging/stargazers","contributors_url":"https://api.github.com/repos/toad/fred-staging/contributors","subscribers_url":"https://api.github.com/repos/toad/fred-staging/subscribers","subscription_url":"https://api.github.com/repos/toad/fred-staging/subscription","commits_url":"https://api.github.com/repos/toad/fred-staging/commits{/sha}","git_commits_url":"https://api.github.com/repos/toad/fred-staging/git/commits{/sha}","comments_url":"https://api.github.com/repos/toad/fred-staging/comments{/number}","issue_comment_url":"https://api.github.com/repos/toad/fred-staging/issues/comments{/number}","contents_url":"https://api.github.com/repos/toad/fred-staging/contents/{+path}","compare_url":"https://api.github.com/repos/toad/fred-staging/compare/{base}...{head}","merges_url":"https://api.github.com/repos/toad/fred-staging/merges","archive_url":"https://api.github.com/repos/toad/fred-staging/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/toad/fred-staging/downloads","issues_url":"https://api.github.com/repos/toad/fred-staging/issues{/number}","pulls_url":"https://api.github.com/repos/toad/fred-staging/pulls{/number}","milestones_url":"https://api.github.com/repos/toad/fred-staging/milestones{/number}","notifications_url":"https://api.github.com/repos/toad/fred-staging/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/toad/fred-staging/labels{/name}","releases_url":"https://api.github.com/repos/toad/fred-staging/releases{/id}","created_at":"2010-10-27T13:19:54Z","updated_at":"2014-07-20T15:29:45Z","pushed_at":"2015-04-13T19:19:10Z","git_url":"git://github.com/toad/fred-staging.git","ssh_url":"git@github.com:toad/fred-staging.git","clone_url":"https://github.com/toad/fred-staging.git","svn_url":"https://github.com/toad/fred-staging","homepage":"http://freenetproject.org/","size":44116,"stargazers_count":3,"watchers_count":3,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":3,"default_branch":"master"}},"base":{"label":"freenet:next","ref":"next","sha":"115b34ad8f9381f5e1b05e018caa11c18c38d05f","user":{"login":"freenet","id":77513,"avatar_url":"https://avatars.githubusercontent.com/u/77513?v=3","gravatar_id":"","url":"https://api.github.com/users/freenet","html_url":"https://github.com/freenet","followers_url":"https://api.github.com/users/freenet/followers","following_url":"https://api.github.com/users/freenet/following{/other_user}","gists_url":"https://api.github.com/users/freenet/gists{/gist_id}","starred_url":"https://api.github.com/users/freenet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freenet/subscriptions","organizations_url":"https://api.github.com/users/freenet/orgs","repos_url":"https://api.github.com/users/freenet/repos","events_url":"https://api.github.com/users/freenet/events{/privacy}","received_events_url":"https://api.github.com/users/freenet/received_events","type":"Organization","site_admin":false},"repo":{"id":185026,"name":"fred","full_name":"freenet/fred","owner":{"login":"freenet","id":77513,"avatar_url":"https://avatars.githubusercontent.com/u/77513?v=3","gravatar_id":"","url":"https://api.github.com/users/freenet","html_url":"https://github.com/freenet","followers_url":"https://api.github.com/users/freenet/followers","following_url":"https://api.github.com/users/freenet/following{/other_user}","gists_url":"https://api.github.com/users/freenet/gists{/gist_id}","starred_url":"https://api.github.com/users/freenet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freenet/subscriptions","organizations_url":"https://api.github.com/users/freenet/orgs","repos_url":"https://api.github.com/users/freenet/repos","events_url":"https://api.github.com/users/freenet/events{/privacy}","received_events_url":"https://api.github.com/users/freenet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/freenet/fred","description":"Freenet REference Daemon","fork":false,"url":"https://api.github.com/repos/freenet/fred","forks_url":"https://api.github.com/repos/freenet/fred/forks","keys_url":"https://api.github.com/repos/freenet/fred/keys{/key_id}","collaborators_url":"https://api.github.com/repos/freenet/fred/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/freenet/fred/teams","hooks_url":"https://api.github.com/repos/freenet/fred/hooks","issue_events_url":"https://api.github.com/repos/freenet/fred/issues/events{/number}","events_url":"https://api.github.com/repos/freenet/fred/events","assignees_url":"https://api.github.com/repos/freenet/fred/assignees{/user}","branches_url":"https://api.github.com/repos/freenet/fred/branches{/branch}","tags_url":"https://api.github.com/repos/freenet/fred/tags","blobs_url":"https://api.github.com/repos/freenet/fred/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/freenet/fred/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/freenet/fred/git/refs{/sha}","trees_url":"https://api.github.com/repos/freenet/fred/git/trees{/sha}","statuses_url":"https://api.github.com/repos/freenet/fred/statuses/{sha}","languages_url":"https://api.github.com/repos/freenet/fred/languages","stargazers_url":"https://api.github.com/repos/freenet/fred/stargazers","contributors_url":"https://api.github.com/repos/freenet/fred/contributors","subscribers_url":"https://api.github.com/repos/freenet/fred/subscribers","subscription_url":"https://api.github.com/repos/freenet/fred/subscription","commits_url":"https://api.github.com/repos/freenet/fred/commits{/sha}","git_commits_url":"https://api.github.com/repos/freenet/fred/git/commits{/sha}","comments_url":"https://api.github.com/repos/freenet/fred/comments{/number}","issue_comment_url":"https://api.github.com/repos/freenet/fred/issues/comments{/number}","contents_url":"https://api.github.com/repos/freenet/fred/contents/{+path}","compare_url":"https://api.github.com/repos/freenet/fred/compare/{base}...{head}","merges_url":"https://api.github.com/repos/freenet/fred/merges","archive_url":"https://api.github.com/repos/freenet/fred/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/freenet/fred/downloads","issues_url":"https://api.github.com/repos/freenet/fred/issues{/number}","pulls_url":"https://api.github.com/repos/freenet/fred/pulls{/number}","milestones_url":"https://api.github.com/repos/freenet/fred/milestones{/number}","notifications_url":"https://api.github.com/repos/freenet/fred/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/freenet/fred/labels{/name}","releases_url":"https://api.github.com/repos/freenet/fred/releases{/id}","created_at":"2009-04-25T01:00:27Z","updated_at":"2015-04-05T23:23:14Z","pushed_at":"2015-04-13T19:21:09Z","git_url":"git://github.com/freenet/fred.git","ssh_url":"git@github.com:freenet/fred.git","clone_url":"https://github.com/freenet/fred.git","svn_url":"https://github.com/freenet/fred","homepage":"https://freenetproject.org/","size":151689,"stargazers_count":161,"watchers_count":161,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":80,"mirror_url":null,"open_issues_count":19,"forks":80,"open_issues":19,"watchers":161,"default_branch":"next"}},"_links":{"self":{"href":"https://api.github.com/repos/freenet/fred/pulls/346"},"html":{"href":"https://github.com/freenet/fred/pull/346"},"issue":{"href":"https://api.github.com/repos/freenet/fred/issues/346"},"comments":{"href":"https://api.github.com/repos/freenet/fred/issues/346/comments"},"review_comments":{"href":"https://api.github.com/repos/freenet/fred/pulls/346/comments"},"review_comment":{"href":"https://api.github.com/repos/freenet/fred/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/freenet/fred/pulls/346/commits"},"statuses":{"href":"https://api.github.com/repos/freenet/fred/statuses/c7e93f24ca676c67575fd576030dc84cd14e353b"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":4,"additions":47,"deletions":14,"changed_files":2}}