{"action":"created","issue":{"url":"https://api.github.com/repos/clearlinux/swupd-client/issues/560","repository_url":"https://api.github.com/repos/clearlinux/swupd-client","labels_url":"https://api.github.com/repos/clearlinux/swupd-client/issues/560/labels{/name}","comments_url":"https://api.github.com/repos/clearlinux/swupd-client/issues/560/comments","events_url":"https://api.github.com/repos/clearlinux/swupd-client/issues/560/events","html_url":"https://github.com/clearlinux/swupd-client/pull/560","id":355775127,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEyMjI3NTA1","number":560,"title":"Memory","user":{"login":"otaviobp","id":36560,"node_id":"MDQ6VXNlcjM2NTYw","avatar_url":"https://avatars2.githubusercontent.com/u/36560?v=4","gravatar_id":"","url":"https://api.github.com/users/otaviobp","html_url":"https://github.com/otaviobp","followers_url":"https://api.github.com/users/otaviobp/followers","following_url":"https://api.github.com/users/otaviobp/following{/other_user}","gists_url":"https://api.github.com/users/otaviobp/gists{/gist_id}","starred_url":"https://api.github.com/users/otaviobp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/otaviobp/subscriptions","organizations_url":"https://api.github.com/users/otaviobp/orgs","repos_url":"https://api.github.com/users/otaviobp/repos","events_url":"https://api.github.com/users/otaviobp/events{/privacy}","received_events_url":"https://api.github.com/users/otaviobp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-08-30T22:23:11Z","updated_at":"2018-09-07T17:14:39Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/clearlinux/swupd-client/pulls/560","html_url":"https://github.com/clearlinux/swupd-client/pull/560","diff_url":"https://github.com/clearlinux/swupd-client/pull/560.diff","patch_url":"https://github.com/clearlinux/swupd-client/pull/560.patch"},"body":"@vcgomes has reported on #559 that swupd wasn't consistent on handling return value from callocs, mallocs and reallocs.\r\nOne possible solution was to create functions calloc_or_die, malloc_or_die and realloc_or_die, but I preferred to create a macro to check for NULL and abort. Any opinions about that?"},"comment":{"url":"https://api.github.com/repos/clearlinux/swupd-client/issues/comments/419506792","html_url":"https://github.com/clearlinux/swupd-client/pull/560#issuecomment-419506792","issue_url":"https://api.github.com/repos/clearlinux/swupd-client/issues/560","id":419506792,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTUwNjc5Mg==","user":{"login":"otaviobp","id":36560,"node_id":"MDQ6VXNlcjM2NTYw","avatar_url":"https://avatars2.githubusercontent.com/u/36560?v=4","gravatar_id":"","url":"https://api.github.com/users/otaviobp","html_url":"https://github.com/otaviobp","followers_url":"https://api.github.com/users/otaviobp/followers","following_url":"https://api.github.com/users/otaviobp/following{/other_user}","gists_url":"https://api.github.com/users/otaviobp/gists{/gist_id}","starred_url":"https://api.github.com/users/otaviobp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/otaviobp/subscriptions","organizations_url":"https://api.github.com/users/otaviobp/orgs","repos_url":"https://api.github.com/users/otaviobp/repos","events_url":"https://api.github.com/users/otaviobp/events{/privacy}","received_events_url":"https://api.github.com/users/otaviobp/received_events","type":"User","site_admin":false},"created_at":"2018-09-07T17:14:39Z","updated_at":"2018-09-07T17:14:39Z","author_association":"COLLABORATOR","body":"rebased"}}
{"actor":{"display_login":"otaviobp"}}