{"action":"closed","number":2173,"pull_request":{"url":"https://api.github.com/repos/E3SM-Project/E3SM/pulls/2173","id":175661594,"html_url":"https://github.com/E3SM-Project/E3SM/pull/2173","diff_url":"https://github.com/E3SM-Project/E3SM/pull/2173.diff","patch_url":"https://github.com/E3SM-Project/E3SM/pull/2173.patch","issue_url":"https://api.github.com/repos/E3SM-Project/E3SM/issues/2173","number":2173,"state":"closed","locked":false,"title":"fix some memory leaks","user":{"login":"mt5555","id":5619181,"avatar_url":"https://avatars3.githubusercontent.com/u/5619181?v=4","gravatar_id":"","url":"https://api.github.com/users/mt5555","html_url":"https://github.com/mt5555","followers_url":"https://api.github.com/users/mt5555/followers","following_url":"https://api.github.com/users/mt5555/following{/other_user}","gists_url":"https://api.github.com/users/mt5555/gists{/gist_id}","starred_url":"https://api.github.com/users/mt5555/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mt5555/subscriptions","organizations_url":"https://api.github.com/users/mt5555/orgs","repos_url":"https://api.github.com/users/mt5555/repos","events_url":"https://api.github.com/users/mt5555/events{/privacy}","received_events_url":"https://api.github.com/users/mt5555/received_events","type":"User","site_admin":false},"body":"Fix many of the memory leaks reported by address sanitizer.\r\n\r\nThe leaks were relatively harmess: only allocated once so the memory usage would not grow during the simulation.  But deallocating them will reduce the memory footprint.\r\n\r\nSome of the other memory leaks found I believe are allocated arrays that are needed for the entire simulation.  deallocating them at the end of the simulation wont save any memory, but will produce fewer false alarms when looking for memory leaks.  \r\n\r\nAddresses #1991","created_at":"2018-03-16T22:40:05Z","updated_at":"2018-05-07T02:38:22Z","closed_at":"2018-05-07T02:38:22Z","merged_at":"2018-05-07T02:38:22Z","merge_commit_sha":"3758201ace09fa869b7436ae413b5696316aba50","assignee":{"login":"rljacob","id":947068,"avatar_url":"https://avatars0.githubusercontent.com/u/947068?v=4","gravatar_id":"","url":"https://api.github.com/users/rljacob","html_url":"https://github.com/rljacob","followers_url":"https://api.github.com/users/rljacob/followers","following_url":"https://api.github.com/users/rljacob/following{/other_user}","gists_url":"https://api.github.com/users/rljacob/gists{/gist_id}","starred_url":"https://api.github.com/users/rljacob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rljacob/subscriptions","organizations_url":"https://api.github.com/users/rljacob/orgs","repos_url":"https://api.github.com/users/rljacob/repos","events_url":"https://api.github.com/users/rljacob/events{/privacy}","received_events_url":"https://api.github.com/users/rljacob/received_events","type":"User","site_admin":false},"assignees":[{"login":"rljacob","id":947068,"avatar_url":"https://avatars0.githubusercontent.com/u/947068?v=4","gravatar_id":"","url":"https://api.github.com/users/rljacob","html_url":"https://github.com/rljacob","followers_url":"https://api.github.com/users/rljacob/followers","following_url":"https://api.github.com/users/rljacob/following{/other_user}","gists_url":"https://api.github.com/users/rljacob/gists{/gist_id}","starred_url":"https://api.github.com/users/rljacob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rljacob/subscriptions","organizations_url":"https://api.github.com/users/rljacob/orgs","repos_url":"https://api.github.com/users/rljacob/repos","events_url":"https://api.github.com/users/rljacob/events{/privacy}","received_events_url":"https://api.github.com/users/rljacob/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":294581850,"url":"https://api.github.com/repos/E3SM-Project/E3SM/labels/HOMME","name":"HOMME","color":"f7c6c7","default":false},{"id":111427629,"url":"https://api.github.com/repos/E3SM-Project/E3SM/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":858081227,"url":"https://api.github.com/repos/E3SM-Project/E3SM/labels/postV1","name":"postV1","color":"bfd4f2","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/E3SM-Project/E3SM/pulls/2173/commits","review_comments_url":"https://api.github.com/repos/E3SM-Project/E3SM/pulls/2173/comments","review_comment_url":"https://api.github.com/repos/E3SM-Project/E3SM/pulls/comments{/number}","comments_url":"https://api.github.com/repos/E3SM-Project/E3SM/issues/2173/comments","statuses_url":"https://api.github.com/repos/E3SM-Project/E3SM/statuses/5820f54b41c2e066998ab837ee752aca285413a7","head":{"label":"E3SM-Project:mt5555/homme/memleaks","ref":"mt5555/homme/memleaks","sha":"5820f54b41c2e066998ab837ee752aca285413a7","user":{"login":"E3SM-Project","id":7558558,"avatar_url":"https://avatars3.githubusercontent.com/u/7558558?v=4","gravatar_id":"","url":"https://api.github.com/users/E3SM-Project","html_url":"https://github.com/E3SM-Project","followers_url":"https://api.github.com/users/E3SM-Project/followers","following_url":"https://api.github.com/users/E3SM-Project/following{/other_user}","gists_url":"https://api.github.com/users/E3SM-Project/gists{/gist_id}","starred_url":"https://api.github.com/users/E3SM-Project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/E3SM-Project/subscriptions","organizations_url":"https://api.github.com/users/E3SM-Project/orgs","repos_url":"https://api.github.com/users/E3SM-Project/repos","events_url":"https://api.github.com/users/E3SM-Project/events{/privacy}","received_events_url":"https://api.github.com/users/E3SM-Project/received_events","type":"Organization","site_admin":false},"repo":{"id":21473768,"name":"E3SM","full_name":"E3SM-Project/E3SM","owner":{"login":"E3SM-Project","id":7558558,"avatar_url":"https://avatars3.githubusercontent.com/u/7558558?v=4","gravatar_id":"","url":"https://api.github.com/users/E3SM-Project","html_url":"https://github.com/E3SM-Project","followers_url":"https://api.github.com/users/E3SM-Project/followers","following_url":"https://api.github.com/users/E3SM-Project/following{/other_user}","gists_url":"https://api.github.com/users/E3SM-Project/gists{/gist_id}","starred_url":"https://api.github.com/users/E3SM-Project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/E3SM-Project/subscriptions","organizations_url":"https://api.github.com/users/E3SM-Project/orgs","repos_url":"https://api.github.com/users/E3SM-Project/repos","events_url":"https://api.github.com/users/E3SM-Project/events{/privacy}","received_events_url":"https://api.github.com/users/E3SM-Project/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/E3SM-Project/E3SM","description":"Energy Exascale Earth System Model source code.","fork":false,"url":"https://api.github.com/repos/E3SM-Project/E3SM","forks_url":"https://api.github.com/repos/E3SM-Project/E3SM/forks","keys_url":"https://api.github.com/repos/E3SM-Project/E3SM/keys{/key_id}","collaborators_url":"https://api.github.com/repos/E3SM-Project/E3SM/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/E3SM-Project/E3SM/teams","hooks_url":"https://api.github.com/repos/E3SM-Project/E3SM/hooks","issue_events_url":"https://api.github.com/repos/E3SM-Project/E3SM/issues/events{/number}","events_url":"https://api.github.com/repos/E3SM-Project/E3SM/events","assignees_url":"https://api.github.com/repos/E3SM-Project/E3SM/assignees{/user}","branches_url":"https://api.github.com/repos/E3SM-Project/E3SM/branches{/branch}","tags_url":"https://api.github.com/repos/E3SM-Project/E3SM/tags","blobs_url":"https://api.github.com/repos/E3SM-Project/E3SM/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/E3SM-Project/E3SM/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/E3SM-Project/E3SM/git/refs{/sha}","trees_url":"https://api.github.com/repos/E3SM-Project/E3SM/git/trees{/sha}","statuses_url":"https://api.github.com/repos/E3SM-Project/E3SM/statuses/{sha}","languages_url":"https://api.github.com/repos/E3SM-Project/E3SM/languages","stargazers_url":"https://api.github.com/repos/E3SM-Project/E3SM/stargazers","contributors_url":"https://api.github.com/repos/E3SM-Project/E3SM/contributors","subscribers_url":"https://api.github.com/repos/E3SM-Project/E3SM/subscribers","subscription_url":"https://api.github.com/repos/E3SM-Project/E3SM/subscription","commits_url":"https://api.github.com/repos/E3SM-Project/E3SM/commits{/sha}","git_commits_url":"https://api.github.com/repos/E3SM-Project/E3SM/git/commits{/sha}","comments_url":"https://api.github.com/repos/E3SM-Project/E3SM/comments{/number}","issue_comment_url":"https://api.github.com/repos/E3SM-Project/E3SM/issues/comments{/number}","contents_url":"https://api.github.com/repos/E3SM-Project/E3SM/contents/{+path}","compare_url":"https://api.github.com/repos/E3SM-Project/E3SM/compare/{base}...{head}","merges_url":"https://api.github.com/repos/E3SM-Project/E3SM/merges","archive_url":"https://api.github.com/repos/E3SM-Project/E3SM/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/E3SM-Project/E3SM/downloads","issues_url":"https://api.github.com/repos/E3SM-Project/E3SM/issues{/number}","pulls_url":"https://api.github.com/repos/E3SM-Project/E3SM/pulls{/number}","milestones_url":"https://api.github.com/repos/E3SM-Project/E3SM/milestones{/number}","notifications_url":"https://api.github.com/repos/E3SM-Project/E3SM/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/E3SM-Project/E3SM/labels{/name}","releases_url":"https://api.github.com/repos/E3SM-Project/E3SM/releases{/id}","deployments_url":"https://api.github.com/repos/E3SM-Project/E3SM/deployments","created_at":"2014-07-03T19:04:08Z","updated_at":"2018-05-04T15:41:59Z","pushed_at":"2018-05-07T02:38:22Z","git_url":"git://github.com/E3SM-Project/E3SM.git","ssh_url":"git@github.com:E3SM-Project/E3SM.git","clone_url":"https://github.com/E3SM-Project/E3SM.git","svn_url":"https://github.com/E3SM-Project/E3SM","homepage":"https://e3sm.org/","size":96417,"stargazers_count":24,"watchers_count":24,"language":"Fortran","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"archived":false,"open_issues_count":157,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":12,"open_issues":157,"watchers":24,"default_branch":"master"}},"base":{"label":"E3SM-Project:master","ref":"master","sha":"22331cdf5e2ee53d4310eb4e6b1a1e3084e0dc12","user":{"login":"E3SM-Project","id":7558558,"avatar_url":"https://avatars3.githubusercontent.com/u/7558558?v=4","gravatar_id":"","url":"https://api.github.com/users/E3SM-Project","html_url":"https://github.com/E3SM-Project","followers_url":"https://api.github.com/users/E3SM-Project/followers","following_url":"https://api.github.com/users/E3SM-Project/following{/other_user}","gists_url":"https://api.github.com/users/E3SM-Project/gists{/gist_id}","starred_url":"https://api.github.com/users/E3SM-Project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/E3SM-Project/subscriptions","organizations_url":"https://api.github.com/users/E3SM-Project/orgs","repos_url":"https://api.github.com/users/E3SM-Project/repos","events_url":"https://api.github.com/users/E3SM-Project/events{/privacy}","received_events_url":"https://api.github.com/users/E3SM-Project/received_events","type":"Organization","site_admin":false},"repo":{"id":21473768,"name":"E3SM","full_name":"E3SM-Project/E3SM","owner":{"login":"E3SM-Project","id":7558558,"avatar_url":"https://avatars3.githubusercontent.com/u/7558558?v=4","gravatar_id":"","url":"https://api.github.com/users/E3SM-Project","html_url":"https://github.com/E3SM-Project","followers_url":"https://api.github.com/users/E3SM-Project/followers","following_url":"https://api.github.com/users/E3SM-Project/following{/other_user}","gists_url":"https://api.github.com/users/E3SM-Project/gists{/gist_id}","starred_url":"https://api.github.com/users/E3SM-Project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/E3SM-Project/subscriptions","organizations_url":"https://api.github.com/users/E3SM-Project/orgs","repos_url":"https://api.github.com/users/E3SM-Project/repos","events_url":"https://api.github.com/users/E3SM-Project/events{/privacy}","received_events_url":"https://api.github.com/users/E3SM-Project/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/E3SM-Project/E3SM","description":"Energy Exascale Earth System Model source code.","fork":false,"url":"https://api.github.com/repos/E3SM-Project/E3SM","forks_url":"https://api.github.com/repos/E3SM-Project/E3SM/forks","keys_url":"https://api.github.com/repos/E3SM-Project/E3SM/keys{/key_id}","collaborators_url":"https://api.github.com/repos/E3SM-Project/E3SM/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/E3SM-Project/E3SM/teams","hooks_url":"https://api.github.com/repos/E3SM-Project/E3SM/hooks","issue_events_url":"https://api.github.com/repos/E3SM-Project/E3SM/issues/events{/number}","events_url":"https://api.github.com/repos/E3SM-Project/E3SM/events","assignees_url":"https://api.github.com/repos/E3SM-Project/E3SM/assignees{/user}","branches_url":"https://api.github.com/repos/E3SM-Project/E3SM/branches{/branch}","tags_url":"https://api.github.com/repos/E3SM-Project/E3SM/tags","blobs_url":"https://api.github.com/repos/E3SM-Project/E3SM/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/E3SM-Project/E3SM/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/E3SM-Project/E3SM/git/refs{/sha}","trees_url":"https://api.github.com/repos/E3SM-Project/E3SM/git/trees{/sha}","statuses_url":"https://api.github.com/repos/E3SM-Project/E3SM/statuses/{sha}","languages_url":"https://api.github.com/repos/E3SM-Project/E3SM/languages","stargazers_url":"https://api.github.com/repos/E3SM-Project/E3SM/stargazers","contributors_url":"https://api.github.com/repos/E3SM-Project/E3SM/contributors","subscribers_url":"https://api.github.com/repos/E3SM-Project/E3SM/subscribers","subscription_url":"https://api.github.com/repos/E3SM-Project/E3SM/subscription","commits_url":"https://api.github.com/repos/E3SM-Project/E3SM/commits{/sha}","git_commits_url":"https://api.github.com/repos/E3SM-Project/E3SM/git/commits{/sha}","comments_url":"https://api.github.com/repos/E3SM-Project/E3SM/comments{/number}","issue_comment_url":"https://api.github.com/repos/E3SM-Project/E3SM/issues/comments{/number}","contents_url":"https://api.github.com/repos/E3SM-Project/E3SM/contents/{+path}","compare_url":"https://api.github.com/repos/E3SM-Project/E3SM/compare/{base}...{head}","merges_url":"https://api.github.com/repos/E3SM-Project/E3SM/merges","archive_url":"https://api.github.com/repos/E3SM-Project/E3SM/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/E3SM-Project/E3SM/downloads","issues_url":"https://api.github.com/repos/E3SM-Project/E3SM/issues{/number}","pulls_url":"https://api.github.com/repos/E3SM-Project/E3SM/pulls{/number}","milestones_url":"https://api.github.com/repos/E3SM-Project/E3SM/milestones{/number}","notifications_url":"https://api.github.com/repos/E3SM-Project/E3SM/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/E3SM-Project/E3SM/labels{/name}","releases_url":"https://api.github.com/repos/E3SM-Project/E3SM/releases{/id}","deployments_url":"https://api.github.com/repos/E3SM-Project/E3SM/deployments","created_at":"2014-07-03T19:04:08Z","updated_at":"2018-05-04T15:41:59Z","pushed_at":"2018-05-07T02:38:22Z","git_url":"git://github.com/E3SM-Project/E3SM.git","ssh_url":"git@github.com:E3SM-Project/E3SM.git","clone_url":"https://github.com/E3SM-Project/E3SM.git","svn_url":"https://github.com/E3SM-Project/E3SM","homepage":"https://e3sm.org/","size":96417,"stargazers_count":24,"watchers_count":24,"language":"Fortran","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"archived":false,"open_issues_count":157,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":12,"open_issues":157,"watchers":24,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/E3SM-Project/E3SM/pulls/2173"},"html":{"href":"https://github.com/E3SM-Project/E3SM/pull/2173"},"issue":{"href":"https://api.github.com/repos/E3SM-Project/E3SM/issues/2173"},"comments":{"href":"https://api.github.com/repos/E3SM-Project/E3SM/issues/2173/comments"},"review_comments":{"href":"https://api.github.com/repos/E3SM-Project/E3SM/pulls/2173/comments"},"review_comment":{"href":"https://api.github.com/repos/E3SM-Project/E3SM/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/E3SM-Project/E3SM/pulls/2173/commits"},"statuses":{"href":"https://api.github.com/repos/E3SM-Project/E3SM/statuses/5820f54b41c2e066998ab837ee752aca285413a7"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"rljacob","id":947068,"avatar_url":"https://avatars0.githubusercontent.com/u/947068?v=4","gravatar_id":"","url":"https://api.github.com/users/rljacob","html_url":"https://github.com/rljacob","followers_url":"https://api.github.com/users/rljacob/followers","following_url":"https://api.github.com/users/rljacob/following{/other_user}","gists_url":"https://api.github.com/users/rljacob/gists{/gist_id}","starred_url":"https://api.github.com/users/rljacob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rljacob/subscriptions","organizations_url":"https://api.github.com/users/rljacob/orgs","repos_url":"https://api.github.com/users/rljacob/repos","events_url":"https://api.github.com/users/rljacob/events{/privacy}","received_events_url":"https://api.github.com/users/rljacob/received_events","type":"User","site_admin":false},"comments":5,"review_comments":0,"maintainer_can_modify":false,"commits":6,"additions":55,"deletions":21,"changed_files":6}}
{"actor":{"display_login":"rljacob"}}