{"action":"created","issue":{"url":"https://api.github.com/repos/libqueso/queso/issues/498","repository_url":"https://api.github.com/repos/libqueso/queso","labels_url":"https://api.github.com/repos/libqueso/queso/issues/498/labels{/name}","comments_url":"https://api.github.com/repos/libqueso/queso/issues/498/comments","events_url":"https://api.github.com/repos/libqueso/queso/issues/498/events","html_url":"https://github.com/libqueso/queso/pull/498","id":196159321,"number":498,"title":"Tidy up `*Environment` memory management","user":{"login":"dmcdougall","id":328518,"avatar_url":"https://avatars.githubusercontent.com/u/328518?v=3","gravatar_id":"","url":"https://api.github.com/users/dmcdougall","html_url":"https://github.com/dmcdougall","followers_url":"https://api.github.com/users/dmcdougall/followers","following_url":"https://api.github.com/users/dmcdougall/following{/other_user}","gists_url":"https://api.github.com/users/dmcdougall/gists{/gist_id}","starred_url":"https://api.github.com/users/dmcdougall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmcdougall/subscriptions","organizations_url":"https://api.github.com/users/dmcdougall/orgs","repos_url":"https://api.github.com/users/dmcdougall/repos","events_url":"https://api.github.com/users/dmcdougall/events{/privacy}","received_events_url":"https://api.github.com/users/dmcdougall/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-16T21:35:29Z","updated_at":"2016-12-19T18:06:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/libqueso/queso/pulls/498","html_url":"https://github.com/libqueso/queso/pull/498","diff_url":"https://github.com/libqueso/queso/pull/498.diff","patch_url":"https://github.com/libqueso/queso/pull/498.patch"},"body":"This pull request wraps up all internal raw pointers in `ScopedPtr` objects.  Better memory management and better exception safety for free.\r\n\r\nI had to compromise on one thing, which is the options object.  Instead of just taking the pointer the user passes and throwing it in a `ScopedPtr` we copy the user's object and throw the copy in a `ScopedPtr`.  Options objects aren't too big and are only copied once during the construction of `BaseEnvironment`.\r\n\r\nFeedback welcome. "},"comment":{"url":"https://api.github.com/repos/libqueso/queso/issues/comments/268034531","html_url":"https://github.com/libqueso/queso/pull/498#issuecomment-268034531","issue_url":"https://api.github.com/repos/libqueso/queso/issues/498","id":268034531,"user":{"login":"roystgnr","id":2367346,"avatar_url":"https://avatars.githubusercontent.com/u/2367346?v=3","gravatar_id":"","url":"https://api.github.com/users/roystgnr","html_url":"https://github.com/roystgnr","followers_url":"https://api.github.com/users/roystgnr/followers","following_url":"https://api.github.com/users/roystgnr/following{/other_user}","gists_url":"https://api.github.com/users/roystgnr/gists{/gist_id}","starred_url":"https://api.github.com/users/roystgnr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roystgnr/subscriptions","organizations_url":"https://api.github.com/users/roystgnr/orgs","repos_url":"https://api.github.com/users/roystgnr/repos","events_url":"https://api.github.com/users/roystgnr/events{/privacy}","received_events_url":"https://api.github.com/users/roystgnr/received_events","type":"User","site_admin":false},"created_at":"2016-12-19T18:06:48Z","updated_at":"2016-12-19T18:06:48Z","body":":+1:"}}
{"actor":{"display_login":"roystgnr"}}