{"action":"created","issue":{"url":"https://api.github.com/repos/PCSX2/pcsx2/issues/1277","repository_url":"https://api.github.com/repos/PCSX2/pcsx2","labels_url":"https://api.github.com/repos/PCSX2/pcsx2/issues/1277/labels{/name}","comments_url":"https://api.github.com/repos/PCSX2/pcsx2/issues/1277/comments","events_url":"https://api.github.com/repos/PCSX2/pcsx2/issues/1277/events","html_url":"https://github.com/PCSX2/pcsx2/issues/1277","id":145476915,"number":1277,"title":"onepad: likely memory leak","user":{"login":"gregory38","id":1569559,"avatar_url":"https://avatars.githubusercontent.com/u/1569559?v=3","gravatar_id":"","url":"https://api.github.com/users/gregory38","html_url":"https://github.com/gregory38","followers_url":"https://api.github.com/users/gregory38/followers","following_url":"https://api.github.com/users/gregory38/following{/other_user}","gists_url":"https://api.github.com/users/gregory38/gists{/gist_id}","starred_url":"https://api.github.com/users/gregory38/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregory38/subscriptions","organizations_url":"https://api.github.com/users/gregory38/orgs","repos_url":"https://api.github.com/users/gregory38/repos","events_url":"https://api.github.com/users/gregory38/events{/privacy}","received_events_url":"https://api.github.com/users/gregory38/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/PCSX2/pcsx2/labels/Bug","name":"Bug","color":"fc2929"},{"url":"https://api.github.com/repos/PCSX2/pcsx2/labels/OS:%20Linux","name":"OS: Linux","color":"fef2c0"},{"url":"https://api.github.com/repos/PCSX2/pcsx2/labels/Plugin:%20Other","name":"Plugin: Other","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/PCSX2/pcsx2/milestones/2","html_url":"https://github.com/PCSX2/pcsx2/milestones/Release%201.6","labels_url":"https://api.github.com/repos/PCSX2/pcsx2/milestones/2/labels","id":1495353,"number":2,"title":"Release 1.6","description":"","creator":{"login":"gregory38","id":1569559,"avatar_url":"https://avatars.githubusercontent.com/u/1569559?v=3","gravatar_id":"","url":"https://api.github.com/users/gregory38","html_url":"https://github.com/gregory38","followers_url":"https://api.github.com/users/gregory38/followers","following_url":"https://api.github.com/users/gregory38/following{/other_user}","gists_url":"https://api.github.com/users/gregory38/gists{/gist_id}","starred_url":"https://api.github.com/users/gregory38/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregory38/subscriptions","organizations_url":"https://api.github.com/users/gregory38/orgs","repos_url":"https://api.github.com/users/gregory38/repos","events_url":"https://api.github.com/users/gregory38/events{/privacy}","received_events_url":"https://api.github.com/users/gregory38/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":2,"state":"open","created_at":"2016-01-10T10:32:32Z","updated_at":"2016-04-06T13:39:40Z","due_on":null,"closed_at":null},"comments":12,"created_at":"2016-04-03T10:08:58Z","updated_at":"2016-04-07T19:04:40Z","closed_at":null,"body":"It seems to miss an event to clean the allocation properly. From wx spec.\r\n```\r\n An application should normally define an wxCloseEvent handler for the frame to \r\nrespond to system close events, for example so that related data and subwindows \r\ncan be cleaned up.\r\n```\r\n\r\nDialog.cpp:\r\n* Dialog object is created dynamically in DisplayDialog but never deleted\r\n* m_tab_gamepad/m_bt_gamepad/m_frm_gamepad_config/m_frm_joystick_config are created dynamically but never deleted\r\n* If any pointer above is not associated to any object, it ought to be set to a null pointer"},"comment":{"url":"https://api.github.com/repos/PCSX2/pcsx2/issues/comments/207051569","html_url":"https://github.com/PCSX2/pcsx2/issues/1277#issuecomment-207051569","issue_url":"https://api.github.com/repos/PCSX2/pcsx2/issues/1277","id":207051569,"user":{"login":"gregory38","id":1569559,"avatar_url":"https://avatars.githubusercontent.com/u/1569559?v=3","gravatar_id":"","url":"https://api.github.com/users/gregory38","html_url":"https://github.com/gregory38","followers_url":"https://api.github.com/users/gregory38/followers","following_url":"https://api.github.com/users/gregory38/following{/other_user}","gists_url":"https://api.github.com/users/gregory38/gists{/gist_id}","starred_url":"https://api.github.com/users/gregory38/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregory38/subscriptions","organizations_url":"https://api.github.com/users/gregory38/orgs","repos_url":"https://api.github.com/users/gregory38/repos","events_url":"https://api.github.com/users/gregory38/events{/privacy}","received_events_url":"https://api.github.com/users/gregory38/received_events","type":"User","site_admin":false},"created_at":"2016-04-07T19:04:39Z","updated_at":"2016-04-07T19:04:39Z","body":"Ok. CtrlRegisterList stuff would really love a shared_pointer.\r\n\r\nConfigure/HandleEvent is maybe related to onepad. (I didn't have them, if I don't configure them)."}}