{"action":"created","issue":{"url":"https://api.github.com/repos/FreeRCT/FreeRCT/issues/68","labels_url":"https://api.github.com/repos/FreeRCT/FreeRCT/issues/68/labels{/name}","comments_url":"https://api.github.com/repos/FreeRCT/FreeRCT/issues/68/comments","events_url":"https://api.github.com/repos/FreeRCT/FreeRCT/issues/68/events","html_url":"https://github.com/FreeRCT/FreeRCT/issues/68","id":62721526,"number":68,"title":"Remove unnecessary null pointer checks","user":{"login":"elfring","id":660477,"avatar_url":"https://avatars.githubusercontent.com/u/660477?v=3","gravatar_id":"","url":"https://api.github.com/users/elfring","html_url":"https://github.com/elfring","followers_url":"https://api.github.com/users/elfring/followers","following_url":"https://api.github.com/users/elfring/following{/other_user}","gists_url":"https://api.github.com/users/elfring/gists{/gist_id}","starred_url":"https://api.github.com/users/elfring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elfring/subscriptions","organizations_url":"https://api.github.com/users/elfring/orgs","repos_url":"https://api.github.com/users/elfring/repos","events_url":"https://api.github.com/users/elfring/events{/privacy}","received_events_url":"https://api.github.com/users/elfring/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"sgtbigman","id":8128605,"avatar_url":"https://avatars.githubusercontent.com/u/8128605?v=3","gravatar_id":"","url":"https://api.github.com/users/sgtbigman","html_url":"https://github.com/sgtbigman","followers_url":"https://api.github.com/users/sgtbigman/followers","following_url":"https://api.github.com/users/sgtbigman/following{/other_user}","gists_url":"https://api.github.com/users/sgtbigman/gists{/gist_id}","starred_url":"https://api.github.com/users/sgtbigman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgtbigman/subscriptions","organizations_url":"https://api.github.com/users/sgtbigman/orgs","repos_url":"https://api.github.com/users/sgtbigman/repos","events_url":"https://api.github.com/users/sgtbigman/events{/privacy}","received_events_url":"https://api.github.com/users/sgtbigman/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-03-18T15:27:58Z","updated_at":"2015-03-19T13:30:21Z","closed_at":"2015-03-19T00:11:01Z","body":"[An extra null pointer check is not needed in functions](https://isocpp.org/wiki/faq/freestore-mgmt#delete-handles-null \"Do I need to check for NULL before delete p?\") like the following.\r\n* [BackgroundWidget](https://github.com/FreeRCT/FreeRCT/blob/fbd5d744facc14c91c86f53f0e8f36d109177955/src/widget.cpp#L890 \"Destructor for BackgroundWidget\")\r\n* [GuiWindow](https://github.com/FreeRCT/FreeRCT/blob/fbd5d744facc14c91c86f53f0e8f36d109177955/src/window.cpp#L326 \"Destructor for GuiWindow\")\r\n* [ShowQuitProgram](https://github.com/FreeRCT/FreeRCT/blob/fbd5d744facc14c91c86f53f0e8f36d109177955/src/toolbar_gui.cpp#L451 \"ShowQuitProgram function\")"},"comment":{"url":"https://api.github.com/repos/FreeRCT/FreeRCT/issues/comments/83571114","html_url":"https://github.com/FreeRCT/FreeRCT/issues/68#issuecomment-83571114","issue_url":"https://api.github.com/repos/FreeRCT/FreeRCT/issues/68","id":83571114,"user":{"login":"elfring","id":660477,"avatar_url":"https://avatars.githubusercontent.com/u/660477?v=3","gravatar_id":"","url":"https://api.github.com/users/elfring","html_url":"https://github.com/elfring","followers_url":"https://api.github.com/users/elfring/followers","following_url":"https://api.github.com/users/elfring/following{/other_user}","gists_url":"https://api.github.com/users/elfring/gists{/gist_id}","starred_url":"https://api.github.com/users/elfring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elfring/subscriptions","organizations_url":"https://api.github.com/users/elfring/orgs","repos_url":"https://api.github.com/users/elfring/repos","events_url":"https://api.github.com/users/elfring/events{/privacy}","received_events_url":"https://api.github.com/users/elfring/received_events","type":"User","site_admin":false},"created_at":"2015-03-19T13:30:21Z","updated_at":"2015-03-19T13:30:21Z","body":"Is [the function \"WindowManager::CloseAllWindows\"](https://github.com/FreeRCT/FreeRCT/blob/13df96530a8c168395d9a5b3f5adf3684bfd2a78/src/window.cpp#L650 \"Reconsider function implementation\") another update candidate?"}}